#include using namespace std; int main() { int S,T; char c; bool ans = false; cin >> S >> T >> c; switch(c) { case '<': ans = S < T; break; case '>': ans = S > T; break; case '=': ans = S == T; break; } cout << (ans ? "YES" : "NO") << endl; }