#include <bits/stdc++.h>
using namespace std;

int main() {
    int a,b,c;
    cin>>a>>b>>c;
    cout<<max((a+b),max((b+c),(c+a)));
    return 0;
}
#include <iostream>
#include<bits/stdc++.h>
using namespace std;
#define ll long long int

int main()
{
    double sx,sy,gx,gy,i,j;
    double ans = 0.0;
    
    std::cin >> sx>>sy>>gx>>gy;
    
    ans = ((gx-sx)*sy)/(gy+sy);
     ans += sx;
    cout << fixed << setprecision(12) << ans <<endl;

    return 0;
}
