fn main() { let mut nw = String::new(); std::io::stdin().read_line(&mut nw).ok(); let nw: Vec = nw.trim().split_whitespace().map(|s| s.parse().unwrap()).collect(); let n = nw[0]; let w = nw[1]; let mut a = String::new(); std::io::stdin().read_line(&mut a).ok(); let a: Vec = a.trim().split_whitespace().map(|s| s.parse().unwrap()).collect(); let mut result = 0usize; for i in 0..1usize<> j) & 1) == 1).collect::>(); for halfs in 0..1usize<> j) & 1) == 1 { a[targets[j]] / 2 } else { a[targets[j]] }).sum::(); if summary == w { result += 1; break; } } } println!("{}", result); }