#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; } }else if(c == '='){ if(S == T){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }else{ if(S > T){ cout << "Yes" << endl; }else{ cout << "No" << endl; } } return 0; }