def process_covid_csv_data(covid_csv_data: list) -> tuple[int, int, int]:
    """Goes through the list of the covid_csv_data, finding the cases over the
    last seven days, the total number of deaths and the number of people
    currently in the hospital with covid.

    Removes the titles from the list of data. Loops are then used to ensure
    a value is found for the total number of deaths and current hospital cases
    , if the first value for each respective category is incomplete. The total
    cases over the last seven days are found via a for loop that ignores the
    first entry (starts from the second day) and starts from the first day
    with a value.

    Args:
        covid_csv_data (list): Each line from a given csv file, stored as
            indexes in a list. This is contains the data for the returned
            values and is processed, enabling the returned values to be found.

    Returns:
        tuple: (last_seven_days_cases, int(current_hospital_cases),
            int(cumulative_deaths)). For consistency and ease of manipulation,
            all values are returned as integers, with the tuple allowing for
            all three values to be returned at once. This allows for values
            found via the given list to be returned/ displayed (not in this
            case).
    """
    # Removes the titles from the list of data.
    covid_csv_data.remove(covid_csv_data[0])

    last_seven_days_counter = 2
    last_seven_days_cases = 0
    # Gets initial values for deaths and hospital cases.
    current_hospital_cases = covid_csv_data[0][5]
    cumulative_deaths = covid_csv_data[0][4]
    counter_for_deaths, hospital_cases_counter = 1, 1

    # If the first value is incomplete a value is found via backtracking.
    while cumulative_deaths == '':
        cumulative_deaths = covid_csv_data[counter_for_deaths][4]
        counter_for_deaths += 1

    # Does the same as above, but for hospital cases.
    while current_hospital_cases == '':
        current_hospital_cases = covid_csv_data[hospital_cases_counter][5]
        hospital_cases_counter += 1

    # Ensures it only starts summing from the first day with a value.
    while covid_csv_data[last_seven_days_counter][6] == '':
        last_seven_days_counter += 1

    # Sums the cases from the second day.
    for day in range(last_seven_days_counter, last_seven_days_counter + 7):
        last_seven_days_cases += int(covid_csv_data[day][6])

    return (last_seven_days_cases, int(current_hospital_cases),
            int(cumulative_deaths))