#include <bits/stdc++.h>
using namespace std;
long long d1[4] = {1, -1, 0, 0};
long long d2[4] = {0, 0, 1, -1};
int main() {
  long long a, b, c;
  cin >> a >> b >> c;
  long long mx = max({a, b, c});
  long long sum = a + b + c;
  cout << sum - mx << endl;
  return 0;
}
