Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Divisors

Limits 1s, 512 MB

Read an integer variable and print all of its divisors (including 1 and the number itself).

Input

The input will contain an integer A (0 < A < 100).

Output

Print the divisors in increasing order, one per line.

Sample

InputOutput
6
1
2
3
6


Discussion
Statistics

98% Solution Ratio

ashik_jiddneyEarliest, Nov '18

ashik_jiddneyFastest, 0.0s

Jinia_YesminLightest, 0 B

n4o847Shortest, 26B

Submit

Login to submit