Files
CodeObject/storage/zeta/py/completed/11653.py

13 lines
164 B
Python

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