Problem Description

Create a counter() closure that returns 1,2,3,... each time it is called. Input q, print q lines of counts.

Input Format

One integer q.

Output Format

q lines counts.

Sample Test Case

Input:
4
Output:
1 2 3 4

Constraints

q

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next