300998: CF188F. Binary Notation
Memory Limit:256 MB
Time Limit:2 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
F. 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
101Output
1100101Note
In the first example 5 = 1 * 22 + 0 * 21 + 1 * 20.