input: Write a function to improve the efficiency of printing elements of a list by modifying the given code. The function should handle any list of integers and print each element on a new line using a more efficient method.
  assert optimize_print([1, 2, 3, 4, 5, 6]) == "...n:1:n:2:n:3:n:4:n:5:n:6:n..."
  assert optimize_print([7, 8, 9]) == "...n:7:n:8:n:9:n..."
  assert optimize_print([]) == ""
  assert optimize_print([10]) == "...n:10:n..."
  assert optimize_print([100, 200, 300, 400]) == "...n:100:n:200:n:300:n:4:x10*4:n..."
output: def optimize_print(lst):
      if not lst:
          return ""
      result = ":n:".join(map(str, lst))
      return f"...n:{result}:n..."