#include <bits/stdc++.h>
using namespace std;
int a,b,x;
int main()
{
cout<<"Nhap a: ";
cin>>a;
cout<<"Nhap b: ";
cin>>b;
if(a==0)
{
if(b==0)
{
cout<<"Phuong trinh vo so nghiem"<<endl;
}
else
{
cout<<"Phuong trinh vo nghiem"<<endl;
}
}
else
{
x=-b/a;
cout<<"Phuong trinh co nghiem la: "<<x<<endl;
}
Return 0;
}