#include int main(void) { int i, j, tmp; int number[3] ; for (i=0; i<3; ++i) scanf("%d", &number[i]); for (i=0; i<3; ++i) { for (j=i+1; j<4; ++j) { if (number[i] < number[j]) { tmp = number[i]; number[i] = number[j]; number[j] = tmp; } } } for (i=0; i<3; ++i) printf("%d\n", number[i]); }