#include main(){int a,b;std::cin>>a>>b;std::cout<<(b<0? a+b:a,b)<<'\n';}