#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import time
import sys, io
import re, math
start = time.clock()
(a,b,c)=map(float, raw_input().split())
while 1:
    if b!=0: b2=b*b
    ac4=a*c*4
#    print 'b',b,'ac4',ac4
    if a==b==c==0 or a==c==0 or b==c==0:
        print '1'
        print '0'
        break
    elif b2-ac4<0 or a==b==0:
        print '-1'
        break
    elif a==0:
        print '1'
        print (c*(-1))/b
        break
    elif b==0:
        kari=((c*(-1))/a)**0.5
        print '2'
        print kari
        print kari*(-1)
        break
    elif b2-ac4==0:
        print '1'
        print (b*(-1))/(a*2)
        break
    else:
        print '2'
        print ((b*(-1))-((b2-ac4)**0.5))/(a*2) if a!=0 else ((b*(-1))-((b2-ac4)**0.5))
        print ((b*(-1))+((b2-ac4)**0.5))/(a*2) if a!=0 else ((b*(-1))-((b2-ac4)**0.5))
        break