#include <iostream>
#include <iomanip>
using namespace std;
int max3(int a, int b, int c)
{
if (a >= b&& a >= c)
{
return a;
}
else if (b >= a&& b >= c)
{
return b;
}
else if (c >= a&& c >= b)
{
return c;
}
return 0;
}
int main()
{
int a, b, c;
double result;
cin >> a >> b >> c;
result = 1.0 * max3((a + b), b, c) / (max3(a, (b + c), c) + max3(a, b, (b + c)));
cout << fixed << setprecision(2) << result << endl;
return 0;
}
#include <iomanip>
using namespace std;
int max3(int a, int b, int c)
{
if (a >= b&& a >= c)
{
return a;
}
else if (b >= a&& b >= c)
{
return b;
}
else if (c >= a&& c >= b)
{
return c;
}
return 0;
}
int main()
{
int a, b, c;
double result;
cin >> a >> b >> c;
result = 1.0 * max3((a + b), b, c) / (max3(a, (b + c), c) + max3(a, b, (b + c)));
cout << fixed << setprecision(2) << result << endl;
return 0;
}