function Main(input) {
    input = input.split("\n");
    var line = input[0].split(" ");
    var a = parseInt(line[0]);
    var b = parseInt(line[1]);
    var c = parseInt(line[2]);
    console.log(a+b+c-Math.max(a,b,c))
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));