๐ Python/๋ฐฑ์ค
[11653] ์์ธ์๋ถํด
Jayden1116
2022. 3. 25. 22:37
import sys
N = int(sys.stdin.readline())
for i in range(2, N+1):
while N % i == 0:
N = N // i
print(i)