a, b, c = map(int, raw_input().split())
if a == 0:
    if b == 0:
        if c == 0: print(-1)
        else: print(0)
    else:
        print(1)
        print(-c / b)
else:
    d = b ** 2 - 4 * a * c
    if d > 0:
        print(2)
        print( (-b - (d ** (1 / 2))) / (2 * a) )
        print( (-b + (d ** (1 / 2))) / (2 * a) )
    elif d == 0:
        print(1)
        print( -b / (2 * a) )
    else: print(0)