Saint Bitsburg government is preparing a technical requirement for New Year city decoration.
The governor thinks that there should be a garland of n lights on the main square. The lights will turn on and off and entertain the residents of Saint Bitsburg.
The chief designer decided that the garland would change its appearance each second. Every light in the garland can be in two states: on and off. Each second exactly one light will change its state from on to off, or from off to on. Also the chief designer wants all combination of lights in the garland to repeat with a period 2n seconds. During the period of 2n seconds all 2n possible lights combinations in the garland have to be presented.
The city's chief engineer, however, noted that frequently turning lights on and off would cause their malfunction. To minimize the chance of the lights malfunction it is required for every light to be turned on and off approximately the same number of times.
So, the final technical requirement for you --- Chief Programmer of the Government Department of Information Technology --- is here.
Get to work!
Input contains one integer n (1≤n≤17).
Output 2n lines of n characters --- sequence of combinations in the plan. It is guaranteed that a plan satisfying all requirements exists.
In the first sample test c_1=c_2=2, c_3=4.
In the second sample test c_1=c_2=c_3=c_4=4.