//#include #include #include using namespace std; //using namespace atcoder; using ll = long long; #define all(A) A.begin(),A.end() using vll = vector; #define rep(i, n) for (long long i = 0; i < (long long)(n); i++) using Graph = vector>; int main() { ll S,T;char P; cin>>S>>T>>P; if(S==T){ if(P=='=')cout<<"YES"<')cout<<"YES"<