Problem: Compute the sum of squares for the given numbers: a, a+1, ..., b-1, b.
Input: Two natural numbers a and b separated by a space.
Output: Computed sum: aa + (a+1)(a+1) + ... + (b-1)(b-1) + bb
Constraints: 1 <= a <= b <=100
Sample Input: 2 4
Sample Output:
29
a, b = map(int, input().split())
print(sum(i**2 for i in range(a, b + 1)))