407058: GYM102697 029 Goooooooooal!
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
029. Goooooooooal!time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
Your favorite soccer announcer will always say "gooooal" for a very long time after a team scores. You have a "speech to text" tool that transcribed the announcer's words. Given his written down goal reaction, figure out exactly how many "o" letters are in it.
InputThe only line of input contains a single string $$$s$$$: the announcer's reaction to a team's goal.
OutputOutput a single integer $$$n$$$: the number of "o" letters in the given string.
ExampleInputgoooooooooalOutput
9