input: Write a function to calculate the maximum items each person can carry given the number of people.
  assert optimal_elevator(5) == [4, 4]
  assert optimal_elevator(10) == [4, 4, 4, 4]
  assert optimal_elevator(0) == 0
output: def optimal_elevator(people):
      if people == 0:
          return 0
      max_items_per_person = 4
      items = []
      for _ in range(people):
          items.append(max_items_per_person)
          if sum(items) == people * max_items_per_person:
              break
      return items