9 lines
87 B
Python

a, b, c = 0, 0, 0
while 2*a < 200:
b += 3
c -= 1
a += b + c
print(a - 10)
# 100