function main(s) {
	s = s.split("\n")[0].split(" ").map(x => Number(x));
	console.log((s.reduce((x, y) => x + y, 0)) - Math.max(s[0], s[1], s[2]));
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));

