#include <stdio.h>

int main()
{
    int a,b,c,m,sum;
    scanf("%d%d%d",&a,&b,&c);
    if (a>b) m=a;
    else m=b;
    if (m<c) sum=a+b;
    else if (a>b) sum=b+c;
    else sum=a+c;
    printf("%d",sum);
    return 0;
}
