import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
double a, b, x;
Scanner in
= new Scanner
(System.
in); while (in.hasNextDouble())
{
a = in.nextDouble();
b = in.nextDouble();
if (a == 0)
{
if (b
== 0) System.
out.
println("Infinite set of roots; "); else System.
out.
println("No roots; "); }
else
{
x = (-b/a == -0)? b/a : -b/a;
}
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJZG91YmxlIGEsIGIsIHg7CgkJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJd2hpbGUgKGluLmhhc05leHREb3VibGUoKSkKCQl7CgkJCWEgPSBpbi5uZXh0RG91YmxlKCk7CgkJCWIgPSBpbi5uZXh0RG91YmxlKCk7CgkJCWlmIChhID09IDApCgkJCXsKCQkJCWlmIChiID09IDApCVN5c3RlbS5vdXQucHJpbnRsbigiSW5maW5pdGUgc2V0IG9mIHJvb3RzOyAiKTsKCQkJCWVsc2UJCVN5c3RlbS5vdXQucHJpbnRsbigiTm8gcm9vdHM7ICIpOwoJCQl9CgkJCWVsc2UKCQkJewoJCQkJeCA9ICgtYi9hID09IC0wKT8gYi9hIDogLWIvYTsKCQkJCVN5c3RlbS5vdXQucHJpbnRsbih4ICsgIjsgIik7CgkJCX0KCQl9Cgl9Cn0=