def vents_diagram(input_data: list[tuple]) -> list[list[int]]:
    """ Creates a vents' diagram using only vertical or horizontal lines.
        Numbers >=0 represent vents, zeroes represent no vents.
    Args:
        input_data (list[tuple]): tuple of start/end coordinates [int]
    Returns:
        list[int]: 2D list of vents diagram
    """
    # get x_max and y_max
    x_max, y_max = 0, 0
    for four_coords in input_data:
        x1, y1 = four_coords[0]
        x2, y2 = four_coords[1]
        x_max = max(x_max, x1, x2)
        y_max = max(y_max, y1, y2)
    # define vents 2D array with max dimentions and filled with 0
    v_diag = [[0 for x in range(x_max+1)] for y in range(y_max+1)]

    return v_diag