Numb

아직 제출이 없습니다시간 제한1초메모리 제한512 MB

문제

You are given an even integer nn. Construct a binary number a=a_1a_2a_na = \overline{a\_1 a\_2 \ldots a\_n} consisting of nn binary digits such that it is divisible by nn, and all numbers a_1a_2a_i\overline{a\_1 a\_2 \ldots a\_i} (the prefixes of aa in binary notation) for i=1,2,,ni = 1, 2, \ldots, n have different remainders modulo nn.

입력

The only line of input contains an integer nn (2n10002 \le n \le 1000, nn is even).

출력

Print the desired number a_1a_2a_n\overline{a\_1 a\_2 \ldots a\_n} as a string of nn binary digits. Leading zeroes are disallowed. If there are several possible answers, print any one of them. It is guaranteed that at least one answer exists under these constraints.