using System;
public class Program
{
public static void Main()
int one, two;
one = int.Parse(Console.ReadLine());
two = int.Parse(Console.ReadLine());
if (one >= two)
Console.WriteLine(one);
}
else
Console.WriteLine(two);