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