300846: CF162B. Binary notation
Memory Limit:256 MB
Time Limit:3 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
B. Binary notationtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output
You are given a positive integer n. Output its binary notation.
InputThe only line of input data contains an integer n (1 ≤ n ≤ 106).
OutputOutput the binary notation of n (without any leading zeros).
ExamplesInput5Output
101Input
126Output
1111110Note
In the first example 5 = 1 * 22 + 0 * 21 + 1 * 20.