시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
2 초 128 MB 24 14 14 58.333%

문제

A joke is a short story or ironic depiction of a situation communicated with the intent of being humorous. These jokes will normally have a punch line that will end the sentence to make it humorous. A joke can also be a single phrase or statement that employs sarcasm. The word joke can also be used as a slang term for a person or thing which is not taken seriously by others in general or is known as being a failure. A practical joke or prank differs from a spoken one in that the major component of the humour is physical rather than verbal (for example placing salt in the sugar bowl).

Jokes are typically for the entertainment of friends and onlookers. The desired response is generally laughter; when this does not happen the joke is said to have ”fallen flat”.

Jokes have been a part of human culture since at least 1900 BCE. A fart joke from ancient Sumer is currently believed to be the world’s oldest known joke

Jokes can be employed by workers as a way to identify with their jobs. For example, 911 call-takers often crack jokes about incongruous, threatening, or tragic situations they deal with on a daily basis. This use of humor and cracking jokes helps employees differentiate themselves from the people they serve while also assisting them in identifying with their jobs. In addition to employees, managers use joking, or jocularity, in strategic ways. Some managers attempt to suppress joking and humor use because they feel it relates to lower production, while others have attempted to manufacture joking through pranks, pajama or dress down days, and specific committees that are designed to increase fun in the workplace.

In this problem you have to count how many times the word ”joke” (all letters are in lower-case) is contained in the input file as substring.

입력

Input file may contain any text. File size will not exceed 20Kb.

출력

Output only one number – answer to a problem.

예제 입력

In this joke problem all you have
to do is to find how many times
word "joke" can be found in the
input file as substring
Input file can contain any number
of lines.
And you have to find word "joke"
in all text.
But if one line contains beginning
of word and the
other line contains ending of word
-- you don’t have to count it
For example, jo
ke is not counted.
But joke is counted

예제 출력

4

힌트