#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" << endl; } else { int x1 = (-b + sqrt(d)) / (2 * a); int x2 = (-b - sqrt(d)) / (2 * a); cout << ((d == 0) ? "Two same roots x=" + to_string(x1) : "Two different roots x1=" + to_string(max(x1, x2)) + " , x2=" + to_string(min(x1, x2))) << endl; } return 0; }