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