import random


def choose_random_matches(number: str, matches: dict) -> dict:
    """Choose random selection (one unsig per side) from all available matches"""

    random_matches = dict()

    for side, side_matches in matches.items():
        if len(side_matches) == 1:
            random_match = side_matches[0]
        else:
            random_match = random.choice(side_matches)

        random_matches[side] = random_match
    
    random_matches["center"] = int(number)

    return random_matches