from decimal import Decimal, getcontext getcontext().prec = 100 a, b, c = map(int, input().split()) A, B, C = map(Decimal, [a, b, c]) if a==0: if b==0 and c==0: print(-1); elif b==0 and c!=0: print(0); else: print(1); print(-C/B); else: if b*b-4*a*b < 0: print(0); elif b*b-4*a*b == 0: print(1) print(-B/(2*A)) else: print(2) print((-B-(B*B-4*A*C).sqrt())/(2*A)) print((-B+(B*B-4*A*C).sqrt())/(2*A))