As the DMPG draws nearer, the organizers realize that they should check the school registration!
They find that
Constraints
Input Specification
The first line of input will contain a single integer,
The second and final line of input will contain
Output Specification
If there are already more than Over maximum capacity!
.
Otherwise, output the number of empty spots left.
Sample Input 1
Copy
2
100 50
Sample Output 1
Copy
50
Sample Input 2
Copy
3
120 60 30
Sample Output 2
Copy
Over maximum capacity!
Sample Input 3
Copy
3
50 50 100
Sample Output 3
Copy
0
Comments