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