8 lines
145 B
Python
8 lines
145 B
Python
S = int(input())
|
|
|
|
print('%s:' % S)
|
|
|
|
for n in range(3, S + 1):
|
|
if S % n in (0, (n + 1) // 2):
|
|
print('%s,%s' % ((n + 1) // 2, n // 2))
|