use proconio::input; fn main() { input! { n: usize, } let ans = if n % 6 == 0 { "Yes" } else { "No" }; println!("{ans}"); }