#include<bits/stdc++.h> using namespace std; int main(){ int j,t,zt,zj; cin>>zt>>zj; j=zt*2-zj/2; t=zj/2-zt; cout<<j<<" "<<t; return 0; }
#include<bits/stdc++.h>
using namespace std;
int main(){
int j,t,zt,zj;
cin>>zt>>zj;
j=zt*2-zj/2;
t=zj/2-zt;
cout<<j<<" "<<t;
return 0;
}
Using your lizikid universal account