#include <iostream> using namespace std; int main() { // write your code here...... int a,b; cin>>a>>b; if(a>b) printf("%d %d %d %d %d",a+b,a-b,a*b,a/b,a%b); else printf("%d %d %d %d %d",a+b,b-a,a*b,b/a,b%a); return 0; }