You are required to enter a word that consists of
that denote the number of Z
s and O
s respectively. The input word is considered similar to word zoo
Determine if the entered word is similar to word zoo
For example, words such as zzoooo
are similar to word zoo
but not the words such as zzooo
- First line: A word that starts with several Zs and continues by several Os.
Note: The maximum length of this word must be .
Print Yes if the input word can be considered as the string zoo otherwise, print No.