a, b, c = map(int, input().split()) for i in range(-10 ** 6, 10 ** 6): if i * i * i + a * i * i + b * i + c == 0: print(i, end=' ')