#include <stdio.h>
int max1(int a, int b, int c)
{
	if (a > b)b = a;
	return b > c ? b : c;
}
int main()
{
	int a = 0, b = 0, c = 0;
	int big = 0;
	scanf("%d %d %d", &a, &b, &c);
	big = max1(a, b, c);
	printf("%d\n", big);
	return 0;
}