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 i^\text{th} school will send C_i 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

1 \le N \le 3
1 \le C_i \le 200

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, C_1, C_2, \dots, C_N.

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

2
100 50

Sample Output 1

50

Sample Input 2

3
120 60 30

Sample Output 2

Over maximum capacity!

Sample Input 3

3
50 50 100

Sample Output 3

0

Comments

There are no comments at the moment.