fn read_vec() -> Vec { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim().split_whitespace() .map(|e| e.parse().ok().unwrap()).collect() } fn main() -> Result<(), std::io::Error> { let v = read_vec::(); let n = v[0]; let k = v[1]; let max_value = 1 << n; let tar_value = 1 << k; let cnt = max_value / tar_value; println!("{}", cnt); Ok(()) }