N,K=map(int,input().split()) cnt=0 if NK: print((2**N)//(2**K))