include<stdio.h>
include<stdlib.h>
include<malloc.h>
int max(int,int);
int min(int,int);
int add(int,int);
void process(int,int,int(fun)(int,int));
void main(){
int a,b;
scanf("%d%d",&a,&b);
process(a,b,max);
process(a,b,min);
process(a,b,add);
}
void process(int x,int y,int(fun(int,int))){
int result;
result=(*fun)(x,y);
printf(%d\n",result);
}
int max(int x,int y)
{ printf("max=");
return(x>y?x:y);
}
int min(int x,int y){
printf("min=");
return(x>y?x:y);
}
int add(int,int){
printf("sum=");
return(x+y);
}