#include<bits/stdc++.h> using namespace std; int main(){ string a,b; cin>>a>>b; if(a==b){ cout<<"yes"; } else{ cout<<"no"; } return 0; }