use proconio::{fastout, input}; #[fastout] fn main() { input! { n: u32, } println!("{}", output(solve(n))) } fn solve(n: u32) -> bool { n % 6 == 0 } fn output(ans: bool) -> &'static str { match ans { true => "Yes", false => "No", } }