#define A 3
int main()
{
int grades [A] ={0};
int i = 0;
int max = 0;
for (i = 0;i < A;i++)
{
scanf ("%d",&grades[i]);
}
for (i = 0;i < A;i++)
{
if (grades[i] > max)
{
max = grades[i];
}
}
printf ("%d",max);
return 0;
}