def f_option(params: str, file_size: int):
    if (not params):
        return None
    inp = (params.split('-') if ('-' in params) else params)
    if (('-' not in params) and (',' not in params)):
        return int(params)
    elif params.startswith('-'):
        return [x for x in range(0, int(inp[1]))]
    elif params.endswith('-'):
        return [(x - 1) for x in range(int(inp[0]), (file_size + 1))]
    elif (',' in params):
        return [int(x) for x in params.split(',')]
    else:
        return [(x - 1) for x in range(int(inp[0]), (int(inp[1]) + 1))]
def f_option(params: str, file_size: int):
    if (not params):
        return None
    inp = (params.split('-') if ('-' in params) else params)
    if (('-' not in params) and (',' not in params)):
        return int(params)
    elif params.startswith('-'):
        return [x for x in range(0, int(inp[1]))]
    elif params.endswith('-'):
        return [(x - 1) for x in range(int(inp[0]), (file_size + 1))]
    elif (',' in params):
        return [int(x) for x in params.split(',')]
    else:
        return [(x - 1) for x in range(int(inp[0]), (int(inp[1]) + 1))]