#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+CnZvaWQgY2FsKGludCB4LGludCB5LGludCAqc3VtLGludCAqZGlmZixpbnQgKm11bCxpbnQgKm1vZCk7CgppbnQgbWFpbih2b2lkKSB7CmludCB4LHksc3VtLGRpZmYsbXVsLG1vZDsKcHJpbnRmKCJ4PSAiKTtzY2FuZigiJWQiLCZ4KTsKcHJpbnRmKCJ5PSAiKTtzY2FuZigiJWQiLCZ5KTsKCmNhbCh4LHksJnN1bSwmZGlmZiwmbXVsLCZtb2QpOwoKcHJpbnRmKCJzdW0gPSAlZFxuIixzdW0pOwpwcmludGYoImRpZmYgPSAlZFxuIiwmZGlmZik7CnByaW50ZigibXVsID0gJWRcbiIsJm11bCk7CnByaW50ZigibW9kID0gJWRcbiIsJm1vZCk7CgoJcmV0dXJuIDA7Cn0KCnZvaWQgY2FsKGludCB4LGludCB5LGludCAqc3VtLGludCAqZGlmZixpbnQgKm11bCxpbnQgKm1vZCkKewoqc3VtPXgreTsKKmRpZmY9eC15OwoqbXVsPXgqeTsKKm1vZD14L3k7Cn0K