Reversed number in binary

Write a program that reads a number and prints its binary representation reversed.

Input

Input consists of a natural number.

Output

Print, reversed, the binary representation of the number, with as many zeros at its left as required.

Problem information

Author: Unknown
Translator: Salvador Roura

Generation: 2026-01-25T10:36:15.504Z

© Jutge.org, 2006–2026.
https://jutge.org