#include using namespace std; using ll = long long; void solve() { int a,b,c; cin>>a>>b>>c; if(a+b>=10) cout<<"YES"<=10) cout<<"YES"<=10) cout<<"YES"<> TC; cin.ignore(); while (TC--) solve(); }