#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int D = b * b - 4 * a * c;
if (D < 0) cout << "No real root";
else {
int x1 = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
int x2 = (-b - sqrt(b * b - 4 * a * c)) / (2 * a);
if (D == 0) {
cout << "Two same roots x=" << x1;
}
else {
cout << "Two different roots x1=" << x1 << " , x2=" << x2;
}
}
return 0;
}