#include using namespace std; int main(){ int S,T; char c; cin>>S>>T>>c; cout<<(((int)(c-'=')==(S-T)||(S-T)*(int)(c-'=')>0)?"YES":"NO")<