def expand_range(text):
    """Return individual numbers for a range expressed as X-Y."""
    if '-' in text:
        range_list = sorted(text.split('-'))
        return [*map(str, range(int(range_list[0]), int(range_list[1]) + 1))]
    else:
        return text
