#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
cout<<b<<" "<<(a+c)<<endl;
return 0;
}
#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
cout<<b<<" "<<(a+c)<<endl;
return 0;
}