const main = (inputs) => {
  A = inputs[0].split(" ")[0]-0;
  B = inputs[0].split(" ")[1]-0;
  C = inputs[0].split(" ")[2]-0;
  var ans = A+B+C;
  ans = Math.min(ans, A+B);
  ans = Math.min(ans, A+C);
  ans = Math.min(ans, B+C);
  console.log(ans);
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8').trim().split("\n"));
