acc = 0 end = 1337 for i in range(1, end + 1, 2): acc += i print(acc) print(int(((end + 1) ** 2) / 4))