import math
A, B, C = map(int, raw_input().split())
d = B * B - 4 * A * C
if A == 0:
    if B == 0:
        if C == 0:
            print -1
        else:
            print 0
    else:
        print 1
        print float(-C) / B
elif d < 0:
    print 0
elif d == 0:
    print 1
    print float(-B) / (2 * A)
else:
    print 2
    x1, x2 = (float(-B) - math.sqrt(d)) / (2 * A), (float(-B) + math.sqrt(d)) / (2 * A)
    print min(x1, x2)
    print max(x1, x2)