import java.util.*

fun main(args: Array<String>) {
    val scn = Scanner(System.`in`)
    val N = scn.nextInt()
    val M = scn.nextInt()

    if(N==M){
        println("Yes")
    }else{
        println("No")
    }
}
