code: def permutation(orig_nums, n):
      nums = list(orig_nums)
      perm = []
      while len(nums):
          divider = fact(len(nums) - 1)
          pos = n // divider
          n = n % divider
          perm.append(nums[pos])
          nums = nums[0:pos] + nums[pos + 1 :]
      return perm
  
label_desc: Use image node_id 2 for calling a global function with example usage: permutation(orig_nums, n) and returns: perm