For Christmas, Mimi got a fruit cake from her parents. The cake is sliced into
Constraints
Subtask 1 [10%]
Subtask 2 [10%]
Subtask 3 [80%]
Input Specification
The first line of input will contain a single integer,
The next and final line of input will contain
Output Specification
A single integer, the number of slices of cake Mimi can eat.
Sample Input
Copy
3
1 5 8
Sample Output
Copy
1
Comments