Problem 2: Counting up to Six

Description

Write a program that prints all the numbers from 1 up to a specified maximum.

Input Format

The input will be a single integer.

Output Format

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.

Limits

The input will be less than 1000000 (1 million).

Sample Input

6

Sample Output

1 2 3 4 5 6

End of Problem