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