JAN 18 Challenge: Maximum Score

What does the constraint: 1 ≤ sum of N in all test-cases ≤ 3700 mean here?
Should I be adding anything while input or output?

Please check the comments under the problem.