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