fork download
  1. a,b=map(int, input().split())
  2. print(sum([x**3for x in range(a, b+1)]))
  3.  
Success #stdin #stdout 0.02s 9424KB
stdin
1 3
stdout
36