#include <stdio.h>
void larger_of(double *, double *, double *);
int main(void)
{
double x, y, z;
while(scanf("%lf %lf %lf", &x, &y, &z) == 3)
{
larger_of(&x, &y, &z);
printf("%lf %lf %lf\n", x, y, z);
printf("Enter antoher\n");
}
}
void larger_of(double *u, double *v, double *w)
{
double temp;
if(*u > *v)
{
temp = *u;
*u = *v;
*v = temp;
}
if(*v > *w)
{
temp = *w;
*w = *v;
if(*u <= temp )
*v = temp;
else{
*v = *u;
*u = temp;
}
}
}