import std.stdio;
import std.string;
import std.conv;
import std.algorithm;

void main(){
	auto z=readln.split.to!(int[]),a=z[0],b=z[1],c=z[2];
	if(a+b<=a+c&&a+b<=b+c)writeln(a+b);
	else if(a+c<=a+b&&a+c<=b+c)writeln(a+c);
	else if(b+c<=a+b&&b+c<=a+c)writeln(b+c);
}