
#include <stdio.h>
int main(){
    int a,b,c;
    int temp;
    if (scanf("%d",&a)!=EOF && scanf("%d",&b)!=EOF && scanf("%d",&c)!=EOF){
        if (a>=b){temp=a;a=b;b=temp;}
        if (a>=c){temp=a;a=c;c=temp;}
        if (b>=c){temp=b;b=c;c=temp;}
        printf("%d->%d->%d",a,b,c);
    }else{
        printf("These sides do not correspond to a valid triangle");
    }
    return 0;
}
                    
系统当前共有 481 篇文章