Binary Number

Time limit: 0.2s Memory limit: 64MB Input: Output:

Task

You are given an integer nn. Print a number with nn digits in base 1010 such that it is only made of digits 00 and 11 and it is a multiple of nn.

As an example, if n=6n = 6, 101100101100 is one such number.

Input data

The first line contains nn, the number of digits of the number we need to find.

Output data

The first line will contain an integer with nn digits, representing the required answer. Any correct solution is accepted, as long as the number respects the rules given above.

Constraints and clarifications

  • 1n1 000 0001 \leq n \leq 1 \ 000 \ 000;
  • For tests worth 2424 points, n10 000n \leq 10 \ 000.

Example

stdin

8

stdout

10110000

Explanation

101100008=1263750\frac{10110000}{8} = 1263750

Log in or sign up to be able to send submissions!