2025-06-14 18:07:24 +09:00

8 lines
108 B
Python

N = int(input())
n=2
while(N>1) :
if N%n==0 :
print(n)
N //= n
else :
n += 1