x = -5
while x <= 5:
    f = -3*(x+1)**2+4
    print(f)
    x = x + 0.5