PYTHON
a = int(input())
b = int(input())
n = int(input())
def f(x):
return (3 * x ** 3 - 7) / x
for x in range(a, b + 1, (b - a) // n):
print(x, '-', f(x))
PYTHON
a = int(input())
b = int(input())
n = int(input())
def f(x):
return (3 * x ** 3 - 7) / x
for x in range(a, b + 1, (b - a) // n):
print(x, '-', f(x))