def overlaps():
    for items in networks():
        nets = (items[0][(- 1)], items[1][(- 1)])
        (net_a, net_b) = sorted(nets)
        if net_a.overlaps(net_b):
            return items
def overlaps():
    for items in networks():
        nets = (items[0][(- 1)], items[1][(- 1)])
        (net_a, net_b) = sorted(nets)
        if net_a.overlaps(net_b):
            return items