#include<stdio.h>
int main(){
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	int ab = a+b;
	int ac = a+c;
	int bc = b+c;
	int num = ab;
	if(num>ac){
		num = ac;
	}
	if(num>bc){
		num = bc;
			}
		printf("%d\n",num);
}