#include using namespace std; int main() { int S,T; char c; cin >> S >> T; if(c == '<') { cout << ((S < T)?"Yes":"No") << endl; } else if(c == '>') { cout << ((S > T)?"Yes":"No") << endl; } else { cout << ((S == T)?"Yes":"No") << endl; } }