#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(void) {
int x;
int y;
int sum,diff,mul,mod;
cal(x,y,&sum,&diff,&mul,&mod);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNhbChpbnQgeCwgaW50IHksaW50ICpzdW0saW50ICpkaWZmICxpbnQgKm11bCAsaW50ICptb2QpewoJKnN1bT14K3k7CgkqZGlmZj0oeD55KT8oeC15KTooeS14KTsKCSptdWw9eCp5OwoJKm1vZD14L3k7Cn0KCgppbnQgbWFpbih2b2lkKSB7CglpbnQgeDsKCWludCB5OwoJc2NhbmYoIiVkIiwmeCk7CglzY2FuZigiJWQiLCZ5KTsKCWludCBzdW0sZGlmZixtdWwsbW9kOwoJCgljYWwoeCx5LCZzdW0sJmRpZmYsJm11bCwmbW9kKTsKCQoJcHJpbnRmKCJzdW0gJWQgXG4iLHN1bSk7CglwcmludGYoImRpZmYgJWQgXG4iLGRpZmYpOwoJcHJpbnRmKCJtdWwgJWQgXG4iLG11bCk7CglwcmludGYoIm1vZCAlZCBcbiIsbW9kKTsKCXJldHVybiAwOwp9Cg==