Problem:
Score : 100 points

Problem Statement

Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.

The problem has N test cases, all of which must be passed to get an AC verdict.

Takahashi's submission has passed M cases out of the N test cases.

Determine whether Takahashi's submission gets an AC.

Constraints

1 \leq N \leq 100

0 \leq M \leq N

All values in input are integers.

Input

Input is given from Standard Input in the following format:

N M

Output

If Takahashi's submission gets an AC, print Yes; otherwise, print No.

Sample Input 1

3 3

Sample Output 1

Yes

All three test cases have been passed, so his submission gets an AC.

Sample Input 2

3 2

Sample Output 2

No

Only two out of the three test cases have been passed, so his submission does not get an AC.

Sample Input 3

1 1

Sample Output 3

Yes

Solution in Rust (1.42.0) (judge verdict: Accepted)

use std::error::Error;
use std::io::{self, BufRead, BufWriter, Write};

type AppResult<T> = Result<T, Box<dyn Error>>;

fn solve<R, W>(reader: R, mut writer: W) -> AppResult<()>
where
    R: BufRead,
    W: Write,
{
    let mut lines = reader.lines();
    let a_line = lines.next().ok_or("no lines")??;
    let mut splited = a_line.trim().split_whitespace();
    let n: u32 = splited.next().ok_or("N not found")?.parse()?;
    let m: u32 = splited.next().ok_or("M not found")?.parse()?;
    // let a: u32 = splited.next().ok_or("a not found")?.parse()?;
    // let b: u32 = splited.next().ok_or("b not found")?.parse()?;

    writeln!(&mut writer, "{}", if n == m { "Yes" } else { "No" })?;
    Ok(())
}

fn main() -> AppResult<()> {
    let stdio = io::stdin();
    let input = stdio.lock();

    let stdout = io::stdout();
    let output = BufWriter::new(stdout.lock());

    solve(input, output)
}

#[cfg(test)]
mod tests {
    use super::*;

    const TESTS: &'static [(&'static [u8], &'static [u8])] = &[
        (
            br"3 3", br"Yes
",
        ),
        (
            br"3 2", br"No
",
        ),
        (
            br"1 1", br"Yes
",
        ),
    ];

    #[test]
    fn test_a() -> AppResult<()> {
        for &(input, expected) in TESTS {
            let mut output = Vec::new();
            solve(input, &mut output)?;
            let expected_str = String::from_utf8(expected.to_vec())?;
            let output_str = String::from_utf8(output)?;
            assert_eq!(expected_str, output_str);
        }
        Ok(())
    }
}