n,k = map(int,input().split()) x = 1 << n print(x//(1<