function Main(input) {
	input = input.split("\n");
	const arr = input[0].split(" ").map( v => parseInt(v, 10)).sort((a, b) => a - b)
        console.log(arr[0] + arr[1])
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));