using System;
public class Program
{
public static void Main()
int a,b;
a=Convert.ToInt32(Console.ReadLine());
b=Convert.ToInt32(Console.ReadLine());
if(a==b)
{Console.Write("they are equal");}
else if(a>b)
{Console.Write("{0} is greater than {1}",a,b);}
else
{Console.Write("{0} is greater than {1}",b,a);}
}