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