#include using namespace std; int main(int argc, char const *argv[]) { int t; cin>>t; while(t--) { int b,s,c; cin>>b>>s>>c; int f; cout<