code: def to_one_line_string(tiles):
          
          tiles = sorted(tiles)
  
          man = [t for t in tiles if t < 36]
  
          pin = [t for t in tiles if 36 <= t < 72]
          pin = [t - 36 for t in pin]
  
          sou = [t for t in tiles if 72 <= t < 108]
          sou = [t - 72 for t in sou]
  
          honors = [t for t in tiles if t >= 108]
          honors = [t - 108 for t in honors]
  
          sou = sou and ''.join([str((i // 4) + 1) for i in sou]) + 's' or ''
          pin = pin and ''.join([str((i // 4) + 1) for i in pin]) + 'p' or ''
          man = man and ''.join([str((i // 4) + 1) for i in man]) + 'm' or ''
          honors = honors and ''.join([str((i // 4) + 1) for i in honors]) + 'z' or ''
  
          return man + pin + sou + honors
docs: Convert 136 tiles array to the one line string
          Example of output 123s123p123m33z