View on Codeforces
Time: 2 secondsMemory: 256 megabytes
You are given a positive integer n . Output its binary notation.
Input
The only line of input data contains an integer n (1 ≤ n ≤ 106).
Output
Output the binary notation of n (without any leading zeros).
Examples
Input
5
Output
101
Input
101
Output
1100101
Note
In the first example 5 = 1 * 22 + 0 * 21 + 1 * 20.
*specialimplementation
Discussion
(0)Sign in to join the discussion.
Loading editor...