total = 0
n = int(input("n:"))
for i in range(2, n+1, 2):
    total = total + i
    print("i:", i, "total:", total)
print("final total:", total)