#include using namespace std; int main() { int s, t; char op; cin >> s >> t >> op; if (op == '<') { if (s < t) { cout << "YES" << endl; return 0; } cout << "NO" << endl; return 0; } if (op == '>') { if (s > t) { cout << "YES" << endl; return 0; } cout << "NO" << endl; return 0; } if (s == t) { cout << "YES" << endl; return 0; } cout << "NO" << endl; return 0; }