#CUPON2 can anyone pls tell me what is wrong in the code?

the answer is comming right but the judge is not accepting it
here is my code

#include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t–)
{
int a,b,c,d,e,f,g,h;
cin>>a>>b;
cin>>c>>d>>e;
cin>>f>>g>>h;
int t1 = c+d+e;
int t2 = f+g+h;
if(t1>=150 &&t2>=150)
{
if((t1+t2+b)<(t1+t2+2*a))
{
cout<<“YES”<<endl;
}
else
{
cout<<“NO”<<endl;
}
}
else
{
cout<<“NO”<<endl;
}
}
return 0;
}

Consider the test input:

1                                                       
100 1
50 50 50
50 50 49