#include<stdio.h>
#include<math.h>
int main()
{
int max,a,b,c,a1,b1,c1;
scanf("%d %d %d",&a,&b,&c);
a1=fabs(a),b1=fabs(b),c1=fabs(c);
if(a1>=c1&&a1>=b1)
{
printf("%d",a);
}
if(b1>a1&&b1>c1)
{
if(b1==a1)
printf("%d",a1);
else printf("%d",b);
}
if(c1>a1&&c1>b1)
{
if(c1==a1)
printf("%d",a);
else if(c1==b1)
printf("%d",b);
else printf("%d",c);
}
return 0;
}