#include <bits/stdc++.h>
using namespace std;
long long int r, j, l, x, y, m, c, n, s, f, q, i, z, p, k, d, t, u, e, g, w;
string s1, s2, s3, s4;
int main() {
  cin >> x >> y >> z;
  if (x == 0) {
    if (y == 0) {
      if (z == 0)
        cout << -1;
      else
        cout << 0;
    } else {
      printf("1\n");
      double d = -(z * 1.0) / (y * 1.0);
      printf("%.9f", d);
    }
  } else if (y == 0) {
    p = x * z;
    if (p > 0)
      cout << 0;
    else if (p == 0) {
      cout << "1\n0.00000000";
    } else {
      printf("2\n");
      double d = abs(z * 1.0 / (x * 1.00));
      d = sqrt(d);
      printf("%.9f\n%.9f", -d, d);
    }
  } else {
    p = y * y - (4 * x * z);
    if (p < 0)
      cout << 0;
    else if (p == 0) {
      cout << "1\n";
      double d = -(y * 1.00) / (2 * x * 1.000);
      printf("%.9f", d);
    } else {
      double d = sqrt((double)(p * 1.0000));
      double d1 = (-y + d) / (2 * x * 1.00);
      double d2 = (-y - d) / (2 * x * 1.00);
      cout << "2\n";
      if (d1 < d2)
        printf("%.9f\n%.9f", d1, d2);
      else
        printf("%.9f\n%.9f", d2, d1);
    }
  }
}

### Prompt

In cpp, your task is to solve the following 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

### Response

```cpp
#include <bits/stdc++.h>
using namespace std;
long long int r, j, l, x, y, m, c, n, s, f, q, i, z, p, k, d, t, u, e, g, w;
string s1, s2, s3, s4;
int main() {
  cin >> x >> y >> z;
  if (x == 0) {
    if (y == 0) {
      if (z == 0)
        cout << -1;
      else
        cout << 0;
    } else {
      printf("1\n");
      double d = -(z * 1.0) / (y * 1.0);
      printf("%.9f", d);
    }
  } else if (y == 0) {
    p = x * z;
    if (p > 0)
      cout << 0;
    else if (p == 0) {
      cout << "1\n0.00000000";
    } else {
      printf("2\n");
      double d = abs(z * 1.0 / (x * 1.00));
      d = sqrt(d);
      printf("%.9f\n%.9f", -d, d);
    }
  } else {
    p = y * y - (4 * x * z);
    if (p < 0)
      cout << 0;
    else if (p == 0) {
      cout << "1\n";
      double d = -(y * 1.00) / (2 * x * 1.000);
      printf("%.9f", d);
    } else {
      double d = sqrt((double)(p * 1.0000));
      double d1 = (-y + d) / (2 * x * 1.00);
      double d2 = (-y - d) / (2 * x * 1.00);
      cout << "2\n";
      if (d1 < d2)
        printf("%.9f\n%.9f", d1, d2);
      else
        printf("%.9f\n%.9f", d2, d1);
    }
  }
}

```