from math import sqrt
a, b, c = map(int, raw_input().split())

d = b * b - 4 * a * c

if d < 0:
    print 0
    exit()
if d == 0:
    if a == b == c == 0:
        print -1
    elif a == b == 0:
        print 0
    else:
        print 1
        print "%.5f" % (-b / (a * 2))
    exit()

if a == 0:
    print 1
    print "%.5f" % (-c / b)
    exit()

x = (-b + sqrt(b * b - 4 * a * c)) / (a * 2)
y = (-b - sqrt(b * b - 4 * a * c)) / (a * 2)
print 2
print "%.5f" % min(x, y)
print "%.5f" % max(x, y)