#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 10;
long long int a, b, c;
int main() {
  cin >> a >> b >> c;
  long long int s = b * b - 4 * a * c;
  if (a == b && b == c && a == 0) return puts("-1"), 0;
  if (a == 0 && b == 0) return puts("0"), 0;
  if (a == 0) {
    cout << 1 << endl;
    cout << c / b << endl;
  }
  if (s < 0) return puts("0"), 0;
  if (s == 0) {
    cout << 1 << endl;
    cout << -b / (2 * a) << endl;
  } else {
    cout << 2 << endl;
    cout << (-b + sqrt(s)) / (2 * a) << endl;
    cout << (-b - sqrt(s)) / (2 * a) << endl;
  }
  return 0;
}
