use proconio::input; fn main(){ input!{ n: usize, } let ans = match n{ 1 | 2 | 6 | 24 => 1, _ => 0, }; println!("{}", ans); }