Read a number n and print the numbers from 1 to n, one per line. Use a for loop.
n
Input 3 prints 1, 2, 3.
3
1
2