import random

people = ["Alex", "Olga", "Roma", "Dima", "Kiril"]
random.shuffle(people)

for index in range(len(people)):
    # Special case when we match the last person in list to the first
    if index == len(people) - 1:
        print(f"{people[index]} - {people[0]}")
    else:
        print(f"{people[index]} - {people[index + 1]}")
