Adapted by Neilor Tonin, URI Brazil
Read an integer N and compute all its divisors.
The input file contains an integer value.
Write all positive divisors of N, one value per line.
6
1 2 3 6
Thanks to Cassio F.