values = []
start = int(input("Enter starting list value: "))
end = int(input("Enter ending list value: "))
for i in range(start,end+1):
values.append(i)
sum = 0
for value in values:
sum += value
print("Sum of numbers from " + str(start) + " to " + str(end) + ": " + str(sum))