<<相当于得到原操作数乘以2**n

while True:
    try:
        n = input()
        print(1<<int(n))
    except:
        break