use proconio::input; fn main() { input! { (a, b): (u8, u8), } let ans = (0_u8..=255).filter(|x| a | x == b).count(); println!("{}", ans); }