n,k = map(int,input().split()) che1 = 2 ** n che2 = 2 ** k print(che1 // che2)