a,b=map(int,input().split()) print(2**(max(0,a-b)))