// Vicfred
// https://atcoder.jp/contests/abc152/tasks/abc152_a
// simulation
import std.stdio;

void main() {
    int n, m;
    readf("%s %s\n", &n, &m);

    if(n == m) {
        writefln("%s", "Yes");
    } else {
        writefln("%s", "No");
    }
}

