Problem: You are given an equation: 

Ax2 + Bx + C = 0. 

Your task is to find the number of distinct roots of the equation and print all of them in ascending order.

Input

The first line contains three integer numbers A, B and C ( - 105 ≤ A, B, C ≤ 105). Any coefficient may be equal to 0.

Output

In case of infinite root count print the only integer -1. In case of no roots print the only integer 0. In other cases print the number of root on the first line and the roots on the following lines in the ascending order. Print roots with at least 5 digits after the decimal point.

Examples

Input

1 -5 6


Output

2
2.0000000000
3.0000000000

Solution (in JAVA):

Solution:
import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		int a = kb.nextInt();int b = kb.nextInt();int c = kb.nextInt();
		if(a==0&&b==0&&c==0){
			System.out.println(-1);
			return;
		}else if(a==0&&b==0&&c!=0){
			System.out.println(0);
			return;
		}
		if(a==0){
			System.out.printf("1\n%.6f",(-(double)c)/(double)b);
			return;
		}
		double check = (Math.pow(b,2)-4.0*(double)(a)*(double)(c));
		if(check<0){
			System.out.println(0);
			return; 
		}
		double ans1 = (((double)(-b))+(Math.sqrt(check)))/(2.0*(double)(a));
		double ans2 = (((double)(-b))-(Math.sqrt(check)))/(2.0*(double)(a));
		if(ans1<ans2)
			System.out.printf("2\n%.6f\n%.6f",ans1,ans2);
		else if(ans1>ans2)
			System.out.printf("2\n%.6f\n%.6f",ans2,ans1);
		else
			System.out.printf("1\n%.6f",ans1);
		
	}
}