A. The king is "Z"

Правка en2, от mzaferbooshi96, 2024-11-27 21:32:25

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

Теги iplementaition

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский mzaferbooshi96 2024-11-27 21:34:29 12
en2 Английский mzaferbooshi96 2024-11-27 21:32:25 0 Tiny change: '\ninput:\ncodeforc' -> '\ninput:\n\ncodeforc'
en1 Английский mzaferbooshi96 2024-11-27 21:28:33 386 Initial revision (published)