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