#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); int n,m,c=0,t=0; cin>>n>>m; t=(m-n*2)/2; c=n-t; cout<<c<<' '<<t; return 0; }
使用您的 鱼罐头 通用账户