Олимпиадный тренинг

Задача 38732. Number Divisors


Print all natural divisors of x in ascending order (including 1 and the number itself).

Input
Enter a natural number x

Imprint
Print all divisors of x

 
Examples
# Input Output
1 32 1 2 4 8 16 32