#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, all, all1, all2;
  cin >> a >> b >> c;
  all = a + b;
  all1 = b + c;
  all2 = a + c;
  for (int i = 0; i < 1; i++) {
    if (all <= all1 && all <= all2) {
      cout << all;
      break;
    }
    if (all1 <= all && all1 <= all2) {
      cout << all1;
      break;
    }
    if (all2 <= all1 && all2 <= all) {
      cout << all2;
      break;
    }
  }
  return 0;
}
