#include <iostream>
#include <string>
#include <cmath>
using namespace std;
void D()
{
int a, b, c, D;
D = pow(b, 2) - 4 * a * c;
return;
}
void D_M()
{
int D;
if (D < 0) cout << "No";
return;
}
void D_B()
{
int D, a, b, c, x1, x2;
if (D > 0)
{
x1 = (-b-sqrt(D)) / (2 * a);
x2 = (-b + sqrt(D)) / (2 * a);
}
return;
}
void main()
{
int a, b, c, x1, x2;
cin >> a >> b >> c;
cout << x1 << endl << x2;
cin.get(); cin.get();
}