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