print<>=~$">$`%$'?YES:NO