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