Types: n: int, x: int, y: int
Ranges: 1 ≤ n ≤ 3000, 0 ≤ x ≤ 5000, 0 ≤ y ≤ 5000
Addtl Info: There are no more than 10 datasets. 30% of the score is for datasets where 1 ≤ n ≤ 100, and 60% of the score is for datasets where 1 ≤ n ≤ 500.