fn main() { let v: Vec = input_line(); let (a, b) = (v[0], v[1]); println!("{}", (a | b) + (a & b)); } #[allow(unused)] fn input_line() -> 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() }