VK Cup 2012 Wild-card Round 1 |
---|
Finished |
You are given a positive integer n. Output its binary notation.
The only line of input data contains an integer n (1 ≤ n ≤ 106).
Output the binary notation of n (without any leading zeros).
5
101
126
1111110
In the first example 5 = 1 * 22 + 0 * 21 + 1 * 20.
Name |
---|