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