#include <stdio.h>
#include <locale.h>
int sqr(int x);
int main()
{
int a, b, c,
x1, x2;
const int D = b * b - (4 * a * c);
if (sqr(D) > 0)
{
x1 = (-b - sqr(D)) / (2 * a);
x2 = (-b + sqr(D)) / (2 * a);
}
else if (sqr(D) == 0)
{
x1 = -b / (2 * a);
}
return 0;
}
int sqr(int x)
{
for (int j = 1; j < x; j++)
{
if ((j * j) == x) return j;
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxsb2NhbGUuaD4KCmludCBzcXIoaW50IHgpOwoKaW50IG1haW4oKQp7CiAgICBzZXRsb2NhbGUoTENfQUxMLCAiUnVzc2lhbiIpOwogICAgCiAgICBpbnQgYSwgYiwgYywgCiAgICAgICAgeDEsIHgyOwogICAgCiAgICBwcmludGYoItCS0LLQtdC00LjRgtC1IGE6ICIpOwogICAgc2NhbmYoIiVkIiwgJmEpOwogICAgCiAgICBwcmludGYoItCS0LLQtdC00LjRgtC1IGI6ICIpOwogICAgc2NhbmYoIiVkIiwgJmIpOwogICAgCiAgICBwcmludGYoItCS0LLQtdC00LjRgtC1IGM6ICIpOwogICAgc2NhbmYoIiVkIiwgJmMpOwogICAgCiAgICBjb25zdCBpbnQgRCA9IGIgKiBiIC0gKDQgKiBhICogYyk7CiAgICAKICAgIGlmIChzcXIoRCkgPiAwKSAKICAgIHsKICAgICAgICB4MSA9ICgtYiAtIHNxcihEKSkgLyAoMiAqIGEpOwogICAgICAgIHgyID0gKC1iICsgc3FyKEQpKSAvICgyICogYSk7CiAgICAgICAgCiAgICAgICAgcHJpbnRmKCJcbiVkXG4lZCIsIHgxLCB4Mik7CiAgICB9CiAgICBlbHNlIGlmIChzcXIoRCkgPT0gMCkgCiAgICB7CiAgICAgICAgeDEgPSAtYiAvICgyICogYSk7CiAgICAgICAgCiAgICAgICAgcHJpbnRmKCIlZCIsIHgxKTsKICAgIH0KICAgIGVsc2UgcHJpbnRmKCLQndC10YIg0LrQvtGA0L3QtdC5LiIpOwogICAgCiAgICByZXR1cm4gMDsKfQoKaW50IHNxcihpbnQgeCkKewogICAgZm9yIChpbnQgaiA9IDE7IGogPCB4OyBqKyspIAogICAgewogICAgICAgIGlmICgoaiAqIGopID09IHgpIHJldHVybiBqOwogICAgfQp9Cgo=