new_contents: from operator import add, sub, mul, truediv
  import itertools
  
  def seq_length(s, c = 1):
      while c in s: c += 1
      return c - 1
  
  if __name__ == "__main__":
      maxt, maxs = 0, 0
      for terms in itertools.combinations(range(1, 10), 4):
          s = set()
          for n in itertools.permutations(terms):
              for op in itertools.product([add, sub, mul, truediv], repeat = 3):
                  x = op[0](op[1](n[0], n[1]), op[2](n[2], n[3]))
                  if x % 1 == 0 and x > 0:
                      s.add(int(x))
                  x = op[0](op[1](op[2](n[0], n[1]), n[2]), n[3])
                  if x % 1 == 0 and x > 0:
                      s.add(int(x))
              if seq_length(s) > maxs:
                  maxs, maxt = seq_length(s), terms
      print ''.join(str(i) for i in maxt)
  
  
  
subject: add 93