import math

A, B, C = map(int, raw_input().split())

D = B ** 2 - 4 * A * C

if A != 0:
    if D > 0:
        print 1
        x1 = format((float((0 - B) + math.sqrt(D)) / float(2 * A)), '.5f')
        x2 = format((float((0 - B) - math.sqrt(D)) / float(2 * A)), '.5f')
        print 2

        print format(min(float(x1), float(x2)), '.5f')
        print format(max(float(x1), float(x2)), '.5f')

    elif D == 0:

        x = float(0 - B) / (2 * A)
        print 1
        print format(x, '.5f')

    else:

        print 0
else:

    if A == 0 == B == C:

        print -1

    elif A == B == 0 and C != 0:

        print 0

    elif A == 0 == C and B != 0:

        print 1
        print 0.00000

    elif A == 0 and B != 0 and C != 0:

         print 1
         print format(float(-C) / float(B), '.5f')
