#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;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNhbChpbnQgeCwgaW50IHksIGludCAqc3VtLCBpbnQgKmRpZmYsIGludCAqbXVsLCBpbnQgKm1vZCkgewogICAgKnN1bSA9IHggKyB5OwogICAgKmRpZmYgPSB4Pnk/eC15OnkteDsKICAgICptdWwgPSB4ICogeTsKICAgICptb2QgPSB4IC8geTsKICAgIH0KCmludCBtYWluKCkgewogICAgaW50IHgsIHksIHN1bSwgZGlmZiwgbXVsLCBtb2Q7CgogICAgc2NhbmYoIiVkICVkIiwgJngsICZ5KTsKCiAgICBjYWwoeCwgeSwgJnN1bSwgJmRpZmYsICZtdWwsICZtb2QpOwoKICAgIHByaW50Zigi5ZKMICVkXG4iLCBzdW0pOwogICAgcHJpbnRmKCLlt64gJWRcbiIsIGRpZmYpOwogICAgcHJpbnRmKCLnqY0gJWRcbiIsIG11bCk7CiAgICBwcmludGYoIuWVhiAlZFxuIiwgbW9kKTsKCiAgICByZXR1cm4gMDsKfQo=