Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

M. My Problem Was Not Written By AI
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Examples
Input
13
how much wood would a woodchuck chuck if a woodchuck could chuck wood
how much would would a woodchuck would if a woodchuck could would would
Output
2
Input
10
to be or not to be that is the question
to bite but not to eat that is the answer
Output
You win this time, Frank.