import sys input = sys.stdin.readline N,K=map(int,input().split()) print(2**N//(2**K))