t = int(input()) n, c = map(int,input().split()) print(pow(2, n + 1))