Finding a divisor - devth-preview-eng
TESTdevth-preview-eng
TESTdevth-preview-eng
Quiz Info
Quiz Info
Finding a divisor
100points

Write a program that accepts a positive integer and prints out all divisors of that number.


Input

Positive integer

Output

Output the divisors of the input number by the space



Input/Output Example
 
:
Blank
:
Line Break
Example 1
Input
20
Output
1 2 4 5 10 20 
Example 2
Input
100
Output
1 2 4 5 10 20 25 50 100 
⋇ Please keep the input and output formats carefully
Quiz Info