#include<iostream>
using namespace std;
int main(){
    int a,b,c,sum,maxim;
    cin>>a>>b>>c;
    sum=a+b+c;
    maxim=max(a,b);
    maxim=max(maxim,c);
    cout<<sum-maxim;
}

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

signed main() {
    int a[3];
    
    for ( int i = 0; i < 3; i++ ) {
        cin >> a[i];
    }
    
    sort(a, a+3);
    cout << a[0] + a[1] << endl;
    
    return (0);
}