Numbers in base -2

Write a program to print numbers in base -2.

Input

Input consists of several integer numbers, each with at most nine digits.

Output

For every given number, print it in base -2 following the format of the example.

Problem information

Author: Jordi Petit

Generation: 2026-01-25T12:02:15.928Z

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