using System;
public class Program
{
public static void Main()
int a, b, c, max;
a = Convert.ToInt32(Console.ReadLine());
b = Convert.ToInt32(Console.ReadLine());
c = Convert.ToInt32(Console.ReadLine());
// сравниваем, что больше, а или b
if (a > b) max = a;
else max = b;
// получившееся число сравниваем с оставшимся
if (c > max) max = c;
Console.WriteLine(max);
}