Certainly
면접 대비시간 제한1초메모리 제한2048 MB
주어진 문자열에서 "certainly"라는 단어가 부분 문자열로 몇 번 나타나는지 센다.
문제
Dr. Mehta, a professor of the Algorithms course at Colorado School of Mines, has recently observed an increase in students using generative AI to do their homework for them. He noticed that reports generated by AI tend to use certain words more than usual, especially the word "certainly". Dr. Mehta wants your help spotting dubious submissions!
Given a student's report, count the number of times the word "certainly" appears.
입력
The input consists of a single line containing a string (), consisting only of lowercase English letters, spaces (' '), and periods ('.').
출력
Print one integer, the number of times the word "certainly" appears in .