code: def dup(self, position: int) -> None:
          
          idx = -1 * position
          try:
              self.push(self.values[idx])
          except IndexError:
              raise InsufficientStack("Insufficient stack items for DUP{0}".format(position))
docs: Perform a DUP operation on the stack.