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