The Lost Gift

Problem Number: 
10 889
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
1 1 1 2 1 3 1 4 2 1 2 2 2 3 2 4 3 1 3 2 3 3 3 4 3 5 3 6 3 7 4 1 4 2 4 3 4 3 4 5 5 1 5 2 5 3 5 4 5 5 5 6 6 1 6 2 6 3 6 4 6 5 6 6 6 7 6 8 6 9 6 11 5050 3500 5050 4000 5050 4500 5050 4950 5050 5000 5050 5151 5050 5500 0 0
Problem Id: 
10889