open System let solve n k = if n < k then 0 else pown 2 (n - k) let N, K = let t = Console.ReadLine().Split() |> Array.map int t.[0], t.[1] solve N K |> Console.WriteLine