#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=3;
int y=2;
int sum;
int diff;
int mul;
int mod;
cal (x,y,&sum,&diff,&mul,&mod);
// your code goes here
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgY2FsIChpbnQgeCxpbnQgeSxpbnQqc3VtLGludCpkaWZmLGludCptdWwsaW50Km1vZCl7CipzdW09eCt5OwppZih4Pj15KXsKKmRpZmY9eC15Owp9CmVsc2V7CipkaWZmPXkteDsKfQoqbXVsPXgqeTsKKm1vZD14L3k7Cn0KaW50IG1haW4odm9pZCkgewppbnQgeD0zOwppbnQgeT0yOwppbnQgc3VtOwppbnQgZGlmZjsKaW50IG11bDsKaW50IG1vZDsKY2FsICh4LHksJnN1bSwmZGlmZiwmbXVsLCZtb2QpOwpwcmludGYoIuWSjOOBryVkXG4iLHN1bSk7CnByaW50Zigi5beu44GvJWRcbiIsZGlmZik7CnByaW50Zigi56mN44GvJWRcbiIsbXVsKTsKcHJpbnRmKCLllYbjga8lZFxuIixtb2QpOwoJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJcmV0dXJuIDA7Cn0K