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