#include using namespace std; using ll=long long; const int INF=1e9; int p[5]; /* Library: https://yukicoder.me/users/24530/ai_code */ int main() { cin.tie(nullptr),cout.tie(nullptr); ios::sync_with_stdio(false); for(int i=0; i<3; i++){ cin >> p[i]; } vector k; for(int i=0; i<3; i++){ for(int j=i+1; j<3; j++){ k.push_back({p[i]+p[j]}); } } sort(k.begin(),k.end()); cout << k[1] << endl; }