An on-call schedule must cover a window [window_start, window_end). Shifts
are half-open intervals [start, end) that may overlap each other, touch, or
extend beyond the window.
Report every sub-range of the window that NO shift covers.
Input Format:
Line 1: "<window_start> <window_end>" (integers)
Line 2: n (number of shifts, n >= 0 -- always >= 1 in the tests)
Lines 3 to n+2: "<start> <end>" (integers, start < end)
Output Format:
One line per uncovered gap, ascending: "<gap_start> <gap_end>"
If the window is fully covered, print exactly: NONE