Find the N-th term in the sequence: 1, 10, 11, 100, 101, 110, 111, 1000, \ldots.
The input contains a single natural number N (N \leq 10000).
Output the N-th term of the sequence.
Esempio 1