num = int(input()) for a in range(0, num + 1): if a % 2 == 0: print(2**a)