Type: Default 2000ms 256MiB

September

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Problem Statement

There are 1212 strings S1,S2,,S12S_1, S_2, \ldots, S_{12} consisting of lowercase English letters.

Find how many integers ii (1i12)(1 \leq i \leq 12) satisfy that the length of SiS_i is ii.

Constraints

  • Each SiS_i is a string of length between 11 and 100100, inclusive, consisting of lowercase English letters. (1i12)(1 \leq i \leq 12)

Input

The input is given from Standard Input in the following format:

S1S_1

S2S_2

\vdots

S12S_{12}

Output

Print the number of integers ii (1i12)(1 \leq i \leq 12) such that the length of SiS_i is ii.

Sample Input 1

january
february
march
april
may
june
july
august
september
october
november
december

Sample Output 1

1

There is only one integer ii such that the length of SiS_i is ii: 99. Thus, print 1.

Sample Input 2

ve
inrtfa
npccxva
djiq
lmbkktngaovl
mlfiv
fmbvcmuxuwggfq
qgmtwxmb
jii
ts
bfxrvs
eqvy

Sample Output 2

2

There are two integers ii such that the length of SiS_i is ii: 44 and 88. Thus, print 2.

SDNU_ACM_ICPC_2024_WEEKLY_PRACTICE_1st

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2024-10-27 18:30
End at
2024-10-27 21:30
Duration
3 hour(s)
Host
Partic.
39