count1 = 1
result1 = 0

while count1 < 101:
    if count1 % 2 == 0:
        result1 += count1
    count1 += 1

print(result1)

count2 = 2
result2 = 0

while count2 < 101:
        result2 += count2
        count2 += 2

print(result2)