Sums and input without DP.