TLG - Editorial

Consider the testcase:

4
17 33
26 60
34 32
27 22