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