#include #include #include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int s,t; cin>>s>>t; char c; cin>>c; if(c=='<'){ if(s'){ if(s>t) cout<<"YES\n"; else cout<<"NO\n"; }else{ if(s==t) cout<<"YES\n"; else cout<<"NO\n"; } }