import math a, b, c = map(int, input().split()) l = -2 * 10**9 r = 2 * 10**9 for i in range(100): m = (l + r) / 2.0 if m**3 + a * m**2 + b * m + c > 0: r = m else: l = m s = (l + r) / 2.0 d = a + s e = -c / s l = d / -2.0 r = 2 * 10**9 for i in range(100): m = (l + r) / 2.0 if m**2 + d * m + e > 0: r = m else: l = m t = (l + r) / 2.0 u = -s - t - a ret = list({s, t, u}) ret.sort() for i in range(3): ret[i] = int(ret[i] + 10**-9 if ret[i] > 0 else ret[i] - 10**-9) print(ret[0], ret[1], ret[2])