#include <iostream>
using namespace std;
int main() {
double a, b, c;
cin >> a >> b >> c;
if ((b > a && a > c) || (c > a && a > b)) {
cout << a;
}
else if ((a > b && b > c) || (c > b && b > a)) {
cout << b;
}
else {
cout << c;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglkb3VibGUgYSwgYiwgYzsKCWNpbiA+PiBhID4+IGIgPj4gYzsKCWlmICgoYiA+IGEgJiYgYSA+IGMpIHx8IChjID4gYSAmJiBhID4gYikpIHsKCQljb3V0IDw8IGE7Cgl9CgllbHNlIGlmICgoYSA+IGIgJiYgYiA+IGMpIHx8IChjID4gYiAmJiBiID4gYSkpIHsKCQljb3V0IDw8IGI7Cgl9CgllbHNlIHsKCQljb3V0IDw8IGM7Cgl9CglyZXR1cm4gMDsKfQ==