def f(height):
    total = 0
    c = 0
    while c < 600:
        h = height
        while h > 0:
            h -= 1
            total += 1
        c += 1
        print total

f(5)