If someone at the Summer Programming Camp (SPC) has a birthday, a party is held. Help the organizers determine how many times they need to arrange birthday celebrations during August at SPC.
The first value is the number of SPC participants who have birthdays in August, followed by the days in August on which their birthdays occur. The number of participants with August birthdays does not exceed .
Print the number of days with birthday celebrations.
Example 1
Example 2