8 lines
108 B
Python
8 lines
108 B
Python
N = int(input())
|
|
n=2
|
|
while(N>1) :
|
|
if N%n==0 :
|
|
print(n)
|
|
N //= n
|
|
else :
|
|
n += 1 |