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