import numpy as np a,b,c = map(int, input().split()) p,q=np.roots([a,b,c]) if type(p)==np.complex128: print(0) elif p==q: print(1,p,sep='\n') else: if p>q: p,q=q,p print(2,p,q,sep='\n')