Write a program that prints all the numbers from 1 up to a specified maximum.
The input will be a single integer.
If the input number is N, the output must consist of exactly one line, containing all the integers from 1 to N inclusive, and in ascending order. Each number must be separated from its neighbours by one space.
Note that in programming terminology, a line isn't whole unless it is properly terminated by a newline or '\n' character.
The input will be less than 1000000 (1 million).
6
1 2 3 4 5 6