#include using namespace std; int main(){ int s,t; cin >>s >> t; string a; cin >>a; if(a=="<"){ if(s"){ if(s>t){ cout << "YES" << endl; }else{ cout << "NO" << endl; } }else{ if(s==t){ cout << "YES" << endl; } else{ cout << "NO" << endl; } } }