int main()
{
    int i = 0;
    int score[3]= {0};
    for(i = 0;i<3;i++)
    {
        scanf("%d",&score[i]);
    }
    for(i= 0 ;i<3;i++)
    {
        int j = 0;
        for(j = 0;j<3-i;j++)
        {
            if(score[j]<score[j+1])
            {
            int tmp = score[j];
            score[j]=score[j+1];
            score[j+1] = tmp;
            }
        }
    }
    printf("%d",score[0]);
    return 0;
}