#include<stdio.h> int main(void) { int max(int x,int y); int max1(in
#include<stdio.h>int main(void)
{
int max(int x,int y);
int max1(int x1,int y1);
int max2(int x2,int y2);
int max3(int x3,int y3);
int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,sum,sum1,sum2,sum3,sum4,sum5,sum6,sum7;
scanf("%d+%d",&a,&b);
scanf("%d+%d",&c,&d);
scanf("%d-%d",&e,&f);
scanf("%d-%d",&g,&h);
scanf("%d*%d",&i,&j);
scanf("%d*%d",&k,&l);
scanf("%d/%d",&m,&n);
scanf("%d/%d",&o,&p);
sum=a+b;
sum1=c+d;
sum2=e-f;
sum3=g-h;
sum4=i*j;
sum5=k*l;
sum6=m/n;
sum7=o/p;
q=max(sum,sum1);
r=max1(sum2,sum3);
s=max2(sum4,sum5);
t=max3(sum6,sum7);
printf("max=%d\n",q);
printf("max=%d\n",r);
printf("max=%d\n",s);
printf("max=%d\n",t);
return 0;
}
int max(int x,int y)
{
int z;
if(x>y)z=x;
else z=y;
return(z);
}
int max1(int x1,int y1)
{
int z1;
if(x1>y1)z1=x1;
else z1=y1;
return(z1);
}
int max2(int x2,int y2)
{
int z2;
if(x2>y2)z2=x2;
else z2=y2;
return(z2);
}
int max3(int x3,int y3)
{
int z3;
if(x3>y3)z3=x3;
else z3=y3;
return(z3);
}