Complementary code - 1#5320

Complementary code - 1

1 second
128 megabytes
Very easy

Write a program that, given two numbers and , outputs the representation of the number in -bit binary two's complement code.

\InputFileA single line contains two numbers and (2 \leq n \leq 16, -2^{n-1} \leq a \leq 2^{n-1} - 1).

\OutputFilePrint a string of digits representing the number in -bit binary two's complement code, where the first digit is the most significant (sign) bit.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading