
You want to draw a subway map that is easy for citizens to read. A single line is an infinitely long straight line, and several stations lie on it. Each station is drawn as a single point on the line and has a unique name.
Each station name is written inside a rectangular label. All labels have the same height, and each label's width is proportional to the length of the name. A label is drawn either above or below the line so that one of its edges lies flush against the line.
A map is called a good map when it satisfies all three of the following conditions.
The figure below shows an example that is not a good map.

Given one straight line and the stations on it, write a program that decides whether a good map exists. Each station is assumed to be a single point on the line.
Input is given through standard input. The first line contains the number of test cases T (1≤T≤20).
For each test case, the first line contains the number of stations N (1≤N≤20). Each of the next N lines describes one station with two integers separated by a space: the coordinate x (0≤x≤1000) on the line and the width r (0<r≤1000) of that station's label. Stations are given in increasing order of the coordinate x.
For each test case, print YES if a good map exists and NO otherwise, each on its own line.