fn main() { let mut l = String::new(); std::io::stdin().read_line(&mut l).ok(); let l: usize = l.trim().parse().unwrap(); let mut n = String::new(); std::io::stdin().read_line(&mut n).ok(); let n: usize = n.trim().parse().unwrap(); let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let cands: usize = l - 3; let cands: usize = 2usize.pow(cands as u32); let result: usize = cands * n; println!("{}", result); }