def quad(a, b, c):
    if a == 0 or b == 0 or c == 0:
        return -1
    delt = b**2 - 4*a*c
    if delt < 0:
        return 0
    x = (-b + (delt)**0.5)/(2*a)
    y = (-b - (delt)**0.5)/(2*a)
    return x, y

a,b,c = map(int, input().split())
print(quad(a, b, c))