#include <iostream>
using namespace std;

int main() {
  int min_a = 0;
  int min_b = 0;
  int aux = 0;
  int aux2 = 0;
  cin >> min_a;
  cin >> min_b;
  cin >> aux;
  if (min_a > min_b){
      aux2 = min_a;
      min_a = min_b;
      min_b = aux2;
  }
  if (aux < min_b){
      min_b = aux;
  }
  cout << min_a + min_b << "\n";
  
  return 0;
}