#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; } }