def view(numbers: list) -> None:
string = ""
index = 0
for number in numbers:
if index == 0:
string = str(number)
elif index % 2 == 0 and index != 0:
if (index + 1) == len(numbers):
string += f"\n- {number} -"
else:
string += f"\n{number}"
else:
string += f" - {number}"
index += 1
print(string)