#include<stdio.h>
int main()
{
    int m,n,i,j;
    while(1){
        scanf("%d",&n);
        scanf("%d",&m);
        if(m == n){
            printf("Yes\n");
            break;
        }
        else{
            printf("No\n");
            break;
        }
    }
    return 0;
}
