Time

12:21:17
23 May 2012
Version for print

Birthdays

   If someone in SCS birthday celebration arranged. Help organizers find out how many times they hold birthday parties for a change SCS.August.


Specifications

   Input

   Count SCS-childers, celebrate birthdays in August, then the month, these anniversaries are marked. The number of birthdays in SCS.August not more than 300.

   Output

   You want to display the number of holidays.


Problem information

Time Limit: 1 seconds
Memory Limit: 64 MB
Balls for the passed test: 10
Complexity: 5% 90/95

Example

Example input

Sample 1
6 1 2 5 2 2 20

Sample 2
5 4 6 4 4 4

Example output

Sample 1
4

Sample 2
2


← Lost card Problems The next number →