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