"use strict";
const main = (input) => {
  const compare = (a, b) => {
    return a - b;
  };
  const [a, b, c] = input.trim().split(" ").map(Number).sort(compare);
  return a + b;
};
console.log(main(require("fs").readFileSync("/dev/stdin", "utf8")));
