mzaferbooshi96's blog

By mzaferbooshi96, history, 4 hours ago, In English

Ahmed loves the letter "Z" very much, and he loves the number of "Z" letters in each string s.

Input

The first line of input contains string s.

Output

Print an integer representing the number of occurrences of the letter "Z". If there is no "Z", type "NO" without the quotes. examples: input:

zzzz

output: 4

input:

codeforces

output:

NO

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it