#include <stdio.h> #include <stdlib.h> int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); float m1,m2; int max1,max2,max3,temp1; if(a>b) { temp1 = a; if(temp1>c) { max1 = temp1; if(b>c) { max2 = b; max3 = c; }else{ max3 = b; max2 = c; } } else{ max1 = c; max2 = a; max3 = b; } } else { temp1 = b; if(temp1>c) { max1 = temp1; if(a>c) { max2 = a; max3 = c; } else{ max2 = c; max3 = a; } } else{ max1 = c; max2 = b; max3 = a; } } printf("%d %d %d",max1,max2,max3); return 0; }