#include using namespace std; int main(){ int a,b;char c;cin>>a>>b>>c; if(c == '='){ if(a==b){ cout << "YES" << endl; }else{ cout << "NO" << endl; } }else{ if(c == '<')swap(a,b); if(a>b){ cout << "YES" << endl; }else{ cout << "NO" << endl; } } }