import java.util.*; class Main{ public static void main (String[] args) { Scanner s = new Scanner(System.in); int a =s.nextInt(); int b =s.nextInt(); int n = (int)Math.pow(2,a); int m = (int)Math.pow(2,b); int t = n/m; if(n