A Dinner with Schwarzenegger!!!

Problem Number: 
10 217
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
30 50 60 1000 961 962 970 100000 51252 7245 65736 65535
Problem Id: 
10217