While surfing the internet, you have discovered a brand new word!
yesnt has the meaning of
nont has the meaning of
yes. When the suffix
nt is added multiple times, the meaning of the words alternate between
no. For example, the word
yesntnt has the meaning of yes.
To help you surf the internet in the future, write a program that determines if a phrase means
On a single line, the word
no is followed by a number of
nt, where there are at most 1000 suffixes.
The line is terminated with a
Output whether the phrase has a meaning of
Sample Input 2
Sample Output 2
Sample Input 3
Sample Output 3