a,b,c=map(int,raw_input().split())
ans=2
from math import sqrt
if a==0 and b==0 and c==0:
  ans=-1
  print -1
elif a==0 and b==0:
  print 0
elif a==0:
  ans=1
  print ans
  print -((c*1.0)/b)
elif b*b-4*a*c==0:
  ans=1
  print 1
  print -(b*1.0)/(2*a)
elif b*b-4*a*c<0:
  ans=0
  print 0
else:
  ans=2
  print 2
  r1=(-b*1.0+sqrt(abs(b*b-4*a*c)))/(2*a)
  r2=(-b*1.0-sqrt(abs(b*b-4*a*c)))/(2*a)
  print min(r1,r2)
  print max(r1,r2)
