comefrom: <doocs>0599.Minimum Index Sum of Two Lists_1.py
code: def findRestaurant( list1: List[str], list2: List[str]) -> List[str]:
      ans = []
      mp = {v: i for i, v in enumerate(list2)}
      mi = 2000
      for i, v in enumerate(list1):
          if v in mp:
              t = i + mp[v]
              if t < mi:
                  mi = t
                  ans = [v]
              elif t == mi:
                  ans.append(v)
      return ans
masked: def sample_funcname ( var_0 : List [ str ] , var_3 : List [ str ] ) -> List [ str ] :
      var_4 = [ ]
      var_8 = { var_5 : var_6 for var_6 , var_5 in enumerate ( var_3 ) }
      var_10 = 2000
      for var_6 , var_5 in enumerate ( var_0 ) :
          if var_5 in var_8 :
              var_11 = var_6 + var_8 [ var_5 ]
              if var_11 < var_10 :
                  var_10 = var_11
                  var_4 = [ var_5 ]
              elif var_11 == var_10 :
                  var_4.append ( var_5 )
      return var_4
  