#include <iostream>
using namespace std;
int main() {
int a,b,c,d;
cin >>a>>b;
if(a>b){
c=a;d=b;
}
else{
c=b;d=a;
}
cout<<c+d;
cout<<" ";
cout<<c-d;
cout<<" ";
cout<<c*d;
cout<<" ";
cout<<c/d;
cout<<" ";
cout<<c%d;
}

京公网安备 11010502036488号