open_in_new
content_copy
num = int(input()) i = 1 while (i <= num): if (num % i == 0): print(i) i = i + 1