print "Enter first number>> "
a=int(raw_input())
print "Enter Second number>> "
b=int(raw_input())
print "Enter Third number>> "
c=int(raw_input())
if(a>b):
if(a>c):
print "First number is Greatest "
else:
print "Third number is Greatest "
a=int(raw_input())
print "Enter Second number>> "
b=int(raw_input())
print "Enter Third number>> "
c=int(raw_input())
if(a>b):
if(a>c):
print "First number is Greatest "
else:
print "Third number is Greatest "