#include
int main()
{ int i,max,min,a[5];
for(i=0; i<5; i++)
{ scanf("%d",&a[i]);
if(i==0)max=min=a[i];
else if(a[i]>max)max=a[i];
else if(a[i] } printf("Max=%d\nMin=%d\n",max,min); return 0; }
}
printf("Max=%d\nMin=%d\n",max,min);
return 0;