DMPG '19 B1 - Registration

View as PDF

Submit solution


Points: 3
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type

As the DMPG draws nearer, the organizers realize that they should check the school registration! They find that N schools have registered and the ith school will send Ci competitors to the Gala. There's just one problem: due to safety restrictions, no more than 200 competitors can attend the Gala. Can you tell the organizers how many more competitors can register last minute?

Constraints

1N3
1Ci200

Input Specification

The first line of input will contain a single integer, N.
The second and final line of input will contain N space separated integers, C1,C2,,CN.

Output Specification

If there are already more than 200 competitors, output 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

There are no comments at the moment.