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