var num = (val) => Array.isArray(val) ? val.map( (v)=>Number(v) ) : Number(val)
var print = console.log

if (require('os').type() != "Darwin") {
	Main(require("fs").readFileSync("/dev/stdin", "utf8"));
	return;
}

function Main(input) {

	var a = input.split(" ")

	a = num(a).sort(function(a, b) {
		if (a < b) return -1;
		if (a > b) return 1;
		return 0;
	});



	print(a[0] + a[1])

}


Main(`700 600 780`)
