#include<bits/stdc++.h>
using namespace std;
int32_t main() {
int a, b;
cin >> a >> b;
if(a == 0) {
if(b == 0) cout << "Vo so nghiem";
else cout << "Vo nghiem";
} else {
cout << "Phuong trinh co 1 nghiem: x = " << (double)(-b) / a;
}
return 0;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludDMyX3QgbWFpbigpIHsKICAgIGludCBhLCBiOwogICAgY2luID4+IGEgPj4gYjsKCiAgICBpZihhID09IDApIHsKICAgICAgICBpZihiID09IDApIGNvdXQgPDwgIlZvIHNvIG5naGllbSI7CiAgICAgICAgZWxzZSBjb3V0IDw8ICJWbyBuZ2hpZW0iOwogICAgfSBlbHNlIHsKICAgICAgICBjb3V0IDw8ICJQaHVvbmcgdHJpbmggY28gMSBuZ2hpZW06IHggPSAiIDw8IChkb3VibGUpKC1iKSAvIGE7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0K