<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def overlap(intv1, intv2):
 """Overlaping of two intervals"""

    return max(0, min(intv1[1], intv2[1]) - max(intv1[0], intv2[0]))