#include #include int main(){ int s,t; char c; scanf("%d%d %c",&s,&t,&c); //printf("%d%d%c\n",s,t,c); if(c=='<'){ if(s'){ if(s>t){ printf("YES\n"); }else{ printf("NO\n"); } }else if(c=='='){ if(s==t){ printf("YES\n"); }else{ printf("NO\n"); } } return 0; }