#include<stdio.h>
void cal(int x,int y,int *sum,int *diff,int *mul,int *mod){
*sum=x+y;
*diff=(x>y)?(x-y):(y-x);
*mul=x*y;
*mod=x/y;
}
int main(){
int x,y,sum,diff,mul,mod;
cal(x,y,&sum,&diff,&mul,&mod);
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KCnZvaWQgY2FsKGludCB4LGludCB5LGludCAqc3VtLGludCAqZGlmZixpbnQgKm11bCxpbnQgKm1vZCl7CipzdW09eCt5OwoqZGlmZj0oeD55KT8oeC15KTooeS14KTsKKm11bD14Knk7Ciptb2Q9eC95Owp9CmludCBtYWluKCl7CmludCB4LHksc3VtLGRpZmYsbXVsLG1vZDsKc2NhbmYoIiVkIiwmeCk7CnNjYW5mKCIlZCIsJnkpOwoKY2FsKHgseSwmc3VtLCZkaWZmLCZtdWwsJm1vZCk7CgpwcmludGYoInN1bT0lZFxuIixzdW0pOwpwcmludGYoImRpZmY9JWRcbiIsZGlmZik7CnByaW50ZigibXVsPSVkXG4iLG11bCk7CnByaW50ZigibW9kPSVkXG4iLG1vZCk7CgpyZXR1cm4gMDsKfQo=