import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); int ans = (int) ( Math.pow(2,n) / Math.pow(2,k) ); System.out.println(ans); } }