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