300801: CF153B. Binary notation
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
B. Binary notationtime limit per test2 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
13Output
1101Note
In the first example 5 = 1 * 22 + 0 * 21 + 1 * 20.