#include #include #define LL long long using namespace std; int main() { //freopen("input.txt","r",stdin); LL t; cin>>t; while(t--){ LL ans=0; LL a,b,c; cin>>a>>b>>c; ans= a+b -c ; cout<