#include #include #include #include #include using namespace std; int main() { int t; int u,b,s,c; cin>>t; while(t--) { cin>>b>>s>>c; u=b+s-c; cout<