#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a == 0) {
    cout << "-1\n";
  } else {
    long double x = (-1 * b + sqrt((b * b) - 4 * a * c)) / 2 * a;
    long double y = (-1 * b - sqrt((b * b) - 4 * a * c)) / 2 * a;
    if ((long long)x == x && (long long)y == y) {
      cout << 2 << "\n";
      if (x >= y)
        cout << setprecision(20) << y << "\n" << x << "\n";
      else
        cout << setprecision(20) << x << "\n" << y << "\n";
    } else {
      cout << "0\n";
    }
  }
  return 0;
}
