#include<stdio.h>intmain(){int max, min, i, arr[3], temp;for( i =0; i <3; i++){scanf("%d",&arr[i]);}if(!(arr[0]== arr[1]&& arr[0]== arr[2])){
max = arr[0];
min = arr[0];for( i =0; i <3; i++){if( arr[i]> max)
max = arr[i];if( arr[i]< min)
min = arr[i];}for( i =0; i <3; i++){if( arr[i]!= max && arr[i]!= min)
temp = arr[i];}printf("%d->%d->%d", min, temp, max);}elseprintf("%d->%d->%d", arr[0], arr[1], arr[2]);return0;}