"use strict";
 
const Main = (input) => {
  let xs = input.trim().split(' ');
  let A = parseInt(xs[0],10) + parseInt(xs[1],10);
  let B = parseInt(xs[0],10) + parseInt(xs[2],10);
  let C = parseInt(xs[1],10) + parseInt(xs[2],10);
  
  const compare = (a, b) => {
  return a - b;
  }
 
  let ans = [A,B,C];
  ans.sort(compare);
  console.log(ans[0]);
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));