class Problem0820: def solve(this): n, k = map(int, input().split()) print(int(2 ** n / 2 ** k)) if __name__ == "__main__": problem = Problem0820() problem.solve()