#include<stdio.h>
int main()
{
    int a,b,i,f,e,c,s,d=10000;
    scanf("%d%d%d",&a,&b,&c);
        e=a;
        f=b;
        s=e+f;
        if(s<d)
            d=s;
        f=c;
        s=a+b;
        if(s<d)
            d=s;
        e=c;
        f=b;
        s=a+b;
        if(s<d)
            d=s;
        e=a;
        f=b;
        s=a+b;
        if(s<d)
            d=s;
        e=c;
        f=b;
        s=a+b;
        if(s<d)
            d=s;
    printf("%d",d);
}
