import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product from operator import itemgetter, mul, add from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left from math import gcd from heapq import heappush, heappop from functools import reduce from decimal import Decimal, getcontext def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10 ** 9 + 7 a, b, c = input().split() getcontext().prec = 100 a, b, c = Decimal(a), Decimal(b), Decimal(c) D = b**2-4*a*c if a == 0: if b == 0: if c == 0: print(-1) else: print(0) else: print(1) print(-c/b) exit() if D < 0: print(0) elif D == 0: print(1) print(-b/2/a) else: print(2) x1 = (-b+D.sqrt())/2/a x2 = (-b-D.sqrt())/2/a if x1 > x2: x1, x2 = x2, x1 print(x1, x2, sep="\n")