def find_consec(data):
    """finds the consecutive numbers and outputs as a list"""
    consecutive_values = []
    current_consecutive = [data[0]]
    if len(data) == 1:
        return [[data[0]]]
    for index in range(1, len(data)):
        if data[index] == data[index - 1] + 1:
            current_consecutive.append(data[index])
            if index == len(data) - 1:
                consecutive_values.append(current_consecutive)
        else:
            consecutive_values.append(current_consecutive)
            current_consecutive = [data[index]]
            if index == len(data) - 1:
                consecutive_values.append(current_consecutive)
    return consecutive_values
