#include <stdio.h>
void cal(int x, int y, int *sum, int*diff, int *mul, int*mod){
*sum = x + y;
if(x>=y)
*diff = x - y;
else
*diff = y - x;
*mul = x * y;
*mod = x % y;
}
int main(void) {
int x,y,sum,diff,mul,mod;
cal(x,y,&sum,&diff,&mul,&mod);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNhbChpbnQgeCwgaW50IHksIGludCAqc3VtLCBpbnQqZGlmZiwgaW50ICptdWwsIGludCptb2QpewoJCgkqc3VtID0geCArIHk7CgkKCWlmKHg+PXkpCgkqZGlmZiA9IHggLSB5OwoJZWxzZQoJKmRpZmYgPSB5IC0geDsKCQoJKm11bCA9IHggKiB5OwoJKm1vZCA9IHggJSB5Owp9CgppbnQgbWFpbih2b2lkKSB7CglpbnQgeCx5LHN1bSxkaWZmLG11bCxtb2Q7CglzY2FuZigiJWQgJWQiLCZ4LCZ5KTsKCQoJY2FsKHgseSwmc3VtLCZkaWZmLCZtdWwsJm1vZCk7CgkKCXByaW50ZigieOOBqHnjga7lkozjga8lZFxuIixzdW0pOwoJcHJpbnRmKCJ444GoeeOBruW3ruOBryVkXG4iLGRpZmYpOwoJcHJpbnRmKCJ444GoeeOBruepjeOBryVkXG4iLG11bCk7CglwcmludGYoInjjgpJ544Gn5Ymy44Gj44Gf5L2Z44KK44GvJWRcbiIsbW9kKTsKCQoJcmV0dXJuIDA7Cn0K