#include <iostream>
using namespace std;
int main() {
int i;
double x,y,z,max;
for (i = 1; i <= 6; i++) {
scanf("%lf %lf %lf", &x, &y, &z);
if (x <= y) { // Вычисляем max{x,y}
max = y;
}
else {
max = x;
}
if (max <= z) { // Если max{x,y} <= z, то max{x,y,z} = max{max{x,y},z} = z;
max = z; // В противном случае max{x,y,z} = max{max{x,y},z} = max{x,y}
}
printf("max{%4.2lf,%4.2lf,%4.2lf} = %4.2lf \n",x,y,z,max);
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCmludCBtYWluKCkgewoJaW50IGk7Cglkb3VibGUgeCx5LHosbWF4OwoJZm9yIChpID0gMTsgaSA8PSA2OyBpKyspIHsKCQlzY2FuZigiJWxmICVsZiAlbGYiLCAmeCwgJnksICZ6KTsKCQlpZiAoeCA8PSB5KSB7CS8vINCS0YvRh9C40YHQu9GP0LXQvCAgbWF4e3gseX0KCQkJbWF4ID0geTsKCQl9CgkJZWxzZSB7CgkJCW1heCA9IHg7CgkJfQoJCQoJCWlmIChtYXggPD0geikgewkvLyDQldGB0LvQuCAgbWF4e3gseX0gPD0geiwg0YLQviAgbWF4e3gseSx6fSA9IG1heHttYXh7eCx5fSx6fSA9IHo7CgkJCW1heCA9IHo7CS8vINCSINC/0YDQvtGC0LjQstC90L7QvCDRgdC70YPRh9Cw0LUgIG1heHt4LHksen0gPSBtYXh7bWF4e3gseX0sen0gPSBtYXh7eCx5fQoJCX0KCQlwcmludGYoIm1heHslNC4ybGYsJTQuMmxmLCU0LjJsZn0gPSAlNC4ybGYgXG4iLHgseSx6LG1heCk7Cgl9CglyZXR1cm4gMDsKfQo=
max{0.00,0.00,0.00} = 0.00
max{-1.00,2.00,3.00} = 3.00
max{1.00,3.40,2.20} = 3.40
max{-3.50,0.00,2.10} = 2.10
max{-1.90,-7.00,0.00} = 0.00
max{-3.40,-2.00,-1.80} = -1.80