package algo; import java.util.Scanner; public class sample7 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int K = sc.nextInt(); if(Math.pow(2, N) >= (Math.pow(2, K))) { System.out.println((int)((Math.pow(2, N)) / (Math.pow(2, K)))); } else { System.out.println(0); } } }