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