import std.stdio, std.conv, std.string, std.algorithm,
       std.math, std.array, std.container, std.typecons;

void main() {
  auto nm = readln.chomp.split.to!(int[]);
  if(nm[0]==nm[1]) writeln("Yes");
  else writeln("No");
}

