import turtle as t
tt = t.Turtle()
tt = __import__('turtle').Turtle()
dracon = lambda n: '1' if n == 1 else ((s := dracon(n - 1)) + '1' + invert(s)[::-1])
dr = '0' + dracon(int(input()))
dr = '0' (lambda n: '1' if n == 1 else ((s := dracon(n - 1)) + '1' + invert(s)[::-1]))(int(input()))