eolymp
bolt
Try our new interface for solving problems
Problems

Birthdays

Birthdays

Time limit 1 second
Memory limit 128 MiB

If somebody in Summer Computer School (SCS) has a birthday, the celebration is arranged. Help organizers to find out how many times they must arrange the birthday parties during SCS.August.

Input data

First number contains the amount of SCS - children, who celebrates their birthdays in August, then in the same line given the dates of their birthdays. The number of birthdays in SCS.August is no more than 300.

Output data

Print the number of days with birthdays celebration.

Examples

Input example #1
6 1 2 5 2 2 20
Output example #1
4
Input example #2
5 4 6 4 4 4
Output example #2
2