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.

Input

The only line of input contains a single string $$$s$$$: the announcer's reaction to a team's goal.

Output

Output a single integer $$$n$$$: the number of "o" letters in the given string.

ExampleInput
goooooooooal
Output
9

加入题单

算法标签: