function Main(input) {
	input = input.trim();
	//input = input.trim().split(" ");
	//input = input.trim().split("\n");
	input = input.trim().split(" ").map((a)=>Number(a));
	//input = input.trim().split("\n").map((a)=>Number(a));
  	var list = [input[0]+input[1],input[2]+input[1],input[0]+input[2]];	
  console.log(Math.min.apply(null,list));
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
