File size: 130 Bytes
1514a0b
 
 
 
1
2
3
4
def find_Points(l1, r1, l2, r2):
    x = min(l1, l2) if l1 != l2 else -1
    y = max(r1, r2) if r1 != r2 else -1
    return (x, y)