1 2 3 4 5 6 7 8 9
// School Personal Contest #3 (Winter Computer School 2010/11) - Codeforces Beta Round #45 (ACM-ICPC Rules) // Problem E // Test # 46 1 100 200 2 200 200 0 0 1 100 0