import re


def well_formatted_reps(exercises: list) -> list:
    """Filter out badly formatted reps from the list of exercises"""

    good_format = lambda exc: re.match(r'\d+-\d+', exc[1])
    return list(filter(good_format, exercises))