#include <stdio.h>
#include <string.h>
int main()
{
    int a,b,c,maxx;
      scanf("%d%d%d",&a,&b,&c);
    if(a>b)
        maxx=a;
    else if(a<=b)
        maxx=b;
    if(c>maxx)
        maxx=c;
    printf("%d\n",a+b+c-maxx);
    return 0;
}
