import java.util.Scanner;

public class Main {

	public static final double EPS = 1e-8;

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		if(a==0) {
			if(b==0) {
				if(c!=0) {
					System.out.println(0);
				} else {
					System.out.println(-1);
				}
			} else {
				System.out.println(1);
				System.out.println(-c/b);
			}
			return;
		}
		if (b * b - 4 * a * c < -EPS) {
			System.out.println(0);
		} else if (b * b - 4 * a * c > EPS) {
			System.out.println(2);
			System.out.println((-b - Math.sqrt(b * b - 4 * a * c)) / 2.0);
			System.out.println((-b + Math.sqrt(b * b - 4 * a * c)) / 2.0);
		} else {
			System.out.println(1);
			System.out.println(-b / 2.0);
		}
	}

}
