def METHOD_NAME(el):
  if isinstance(el, str):
    return el.lower()
  elif isinstance(el, int):
    return str(el)
  elif el[0] == el[1]:
    return '%d' % el[0]
  else:
    return '%d-%d' % (el[0], el[1])