n, k = [int(i) for i in input().split()] print(2 ** n // 2 ** k)