int main()
{
int score1,score2,score3;
scanf("%d %d %d",&score1,&score2,&score3);
if(score1>score2){
if(score1>score3){
printf("max=%d ",score1);
if(score2 > score3)
printf("mid=%d min=%d\n",score2,score3);
else
printf("mid=%d min=%d\n",score3,score2);
}else{
printf("max=%d mid=%d min=%d\n",score3,score1,score2);
}
}else{
if(score2>score3){
printf("max=%d ",score2);
if(score1 > score3)
printf("mid=%d min=%d\n",score1,score3);
else
printf("mid=%d min=%d\n",score3,score1);
}else{
printf("max=%d mid=%d min=%d\n",score3,score2,score1);
}
}
return 0;
}