#include #include using namespace std; int a,b,c; int main() { ios::sync_with_stdio(0); cin.tie(NULL); cout.tie(NULL); int test; cin>>test; while (test--){ cin>>a>>b>>c; cout<< -(c-a-b)<