#include #include #include #include #include using namespace std; int main() { int t;cin>>t;int h; for(h=0;h>b>>s>>c; int ans=b+s-c; cout<