N,K = map(int,input().split()) print(2 ** N // (2 ** K))