Sequence#7339

Sequence

1 secondo
64 megabyte
Molto facile

Find the -th term in the sequence: 1, 10, 11, 100, 101, 110, 111, 1000, \ldots.

Input

The input contains a single natural number (N \leq 10000).

Output

Output the -th term of the sequence.

Esempi

Esempio 1

Loading
Loading