def calculate_waiting_time(
    process_name: list, turn_around_time: list, burst_time: list, no_of_process: int
) -> list:

    waiting_time = [0] * no_of_process
    for i in range(0, no_of_process):
        waiting_time[i] = turn_around_time[i] - burst_time[i]
    return waiting_time