

'N' = 5.
The divisors of 5 are 1, 5.
The input consists of a single line containing an integer, ‘N’.
The output should be a single line containing the divisors of ‘N’, separated by spaces, in ascending order.
Iterate through all the numbers from 1 to 'N', and check if that number divides ‘N’, and if it divides, print it.