from gmpy2 import * import random k = int(input()) max_b = pow(2, k) - 1 b = mpz(random.randint(0, max_b)) print(b.__format__('#b'))