#include #include #include using namespace atcoder; using mint = modint998244353; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 int main(){ int s,t; cin>>s>>t; char c; cin>>c; bool f = false; if(c=='='&&s==t)f = true; if(c=='<'&&s'&&s>t)f = true; if(f)cout<<"YES"<