#include using namespace std; #define fill(a,val) memset(a, (val), sizeof a) #define pb push_back #define lli long long int #define scantype int #define endl "\n" #define unique(x) x.erase(unique(x.begin(),x.end()), x.end()) #define sort_f(x) sort(x.begin(),x.end()); #define sort_r(x) sort(x.rbegin(),x.rend()); lli MOD = 1000000007; lli inf = 1e15; void scan(scantype &x); lli powermod(lli _a,lli _b,lli _m){lli _r=1;while(_b){if(_b%2==1)_r=(_r*_a)%_m;_b/=2;_a=(_a*_a)%_m;}return _r;} lli string_to_number(string s){lli x=0; stringstream convert(s); convert>>x; return x;} lli add(lli a,lli b){lli x = (a+b)%MOD; return x; } lli mul(lli a,lli b){lli x = (a*b)%MOD; return x; } lli sub(lli a,lli b){lli x = (a-b+MOD)%MOD; return x; } lli divi(lli a,lli b){lli x = a;lli y = powermod(b,MOD-2,MOD);lli res = (x*y)%MOD;return res;} #define N 200003 int main() { int t;scan(t); while(t--){ int b,s,c;scan(b);scan(s);scan(c); cout<<(b+s-c)<57) && c != '-');c = getchar()); if(c=='-') {neg=1;c=getchar();} for(;c>47 && c<58;c = getchar()) {x = (x<<1) + (x<<3) + c - 48;} if(neg) x=-x; }