package con_level_1; import java.util.Scanner; public class Con820 { public static void main(String[] args){ Scanner s = new Scanner(System.in); int N = s.nextInt() , K = s.nextInt(); s.close(); if(N >= K){ double n = Math.pow(2, N) , k = Math.pow(2, K); System.out.println((int)(n / k)); }else{ System.out.println(0); } } }