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