<>=~$";print 1<$`*(2-$')?YES:NO