s=int(input())
m=int(input())
a=int(input())
if s>m:
  if s>a:
    print"s is large"
elif m>s:
  print"m is large"
else:
  print"a is large"

03c514994e45876b2d7f4aa7babac80c45e380f4
s=int(input())
m=int(input())
a=int(input())
if s>m:
  if s>a:
    print"s is large"
elif m>s:
  print"m is large"
else:
  print"a is large"
