N, K = [int(i) for i in input().split()] x = 2 ** N y = 2 ** K ans = x // y print(ans)