#include <iostream>
using namespace std;
int main() {
double a, b, x;
int n = 0;
while (cin >> a >> b)
{
cout << ++n << ") ";
if (a == 0)
{
if (b == 0) cout << "Infinite set of roots; \n";
else cout << "No roots; \n";
}
else
{
x = (-b/a == -0)? b/a : -b/a;
cout << x << "; \n";
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglkb3VibGUgYSwgYiwgeDsKCWludCBuID0gMDsKCXdoaWxlIChjaW4gPj4gYSA+PiBiKQoJewoJCWNvdXQgPDwgKytuIDw8ICIpICI7CQoJCWlmIChhID09IDApCgkJewoJCQlpZiAoYiA9PSAwKQljb3V0IDw8ICJJbmZpbml0ZSBzZXQgb2Ygcm9vdHM7IFxuIjsKCQkJZWxzZQljb3V0IDw8ICJObyByb290czsgXG4iOwoJCX0KCQllbHNlCgkJewoJCQl4ID0gKC1iL2EgPT0gLTApPyBiL2EgOiAtYi9hOwoJCQljb3V0IDw8IHggPDwgIjsgXG4iOwoJCX0KCX0KCXJldHVybiAwOwp9