def getTransferredPaths(insides, loop):
 transferredPaths = []
 for insideIndex in xrange((len(insides) - 1), (-1), (-1)):
  inside = insides[insideIndex]
  if isPathInsideLoop(loop, inside):
   transferredPaths.append(inside)
   del insides[insideIndex]
 return transferredPaths

def getTransferredPaths ( insides , loop ) : transferredPaths = [ ] for insideIndex in xrange ( ( len ( insides ) - 1 ) , ( - 1 ) , ( - 1 ) ) : inside = insides [ insideIndex ] if isPathInsideLoop ( loop , inside ) : transferredPaths . append ( inside ) del insides [ insideIndex ] return transferredPaths
get transferred paths from inside paths .