#include #include using namespace std; int main(){ int S,T,F=0; string c; cin >> S >> T >> c; if (c=="<"){ if (S"){ if (S>T) F=1; } else{ if (S==T) F=1; } if (F==1) cout << "YES" << endl; else cout << "NO" << endl; }