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