#include <stdio.h>
int main() {
double x, max, min, sum;
scanf("%lf", &x);
for(max = min = sum = x; EOF != scanf("%lf", &x); sum += x)
{
if (max < x) max = x;
else if (min > x) min = x;
}
printf("Max value %g\nMin value %g\nSum %g\n", max, min, sum);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewoJZG91YmxlIHgsIG1heCwgbWluLCBzdW07CglzY2FuZigiJWxmIiwgJngpOwoJZm9yKG1heCA9IG1pbiA9IHN1bSA9IHg7IEVPRiAhPSBzY2FuZigiJWxmIiwgJngpOyBzdW0gKz0geCkKCXsKCQlpZiAobWF4IDwgeCkgbWF4ID0geDsKCQllbHNlIGlmIChtaW4gPiB4KSBtaW4gPSB4OwkKCX0KCXByaW50ZigiTWF4IHZhbHVlICVnXG5NaW4gdmFsdWUgJWdcblN1bSAlZ1xuIiwgbWF4LCBtaW4sIHN1bSk7Cn0=