atcoder#ABC247C. [ABC247C] 1 2 1 3 1 2 1
[ABC247C] 1 2 1 3 1 2 1
Score : points
Problem Statement
We define sequences as follows.
- is a sequence of length containing a single .
- ( is an integer greater than or equal to ) is a sequence obtained by concatenating , , in this order.
For example, and is defined as follows.
- is a concatenation of , , and , in this order, so it is .
- is a concatenation of , , and , in this order, so it is .
Given , print the entire sequence .
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print , with spaces in between.
2
1 2 1
As described in the Problem Statement, is .
1
1
4
1 2 1 3 1 2 1 4 1 2 1 3 1 2 1
- is a concatenation of , , and , in this order.