Captain Blackbeard and his pirates have each bought a house on their favorite island. The houses stand in a single row along the beach, and next to his house every pirate also buys a ship. One long pier runs along the beach, and that is where the ships are parked.
There is enough room on the pier for every ship, but not every pirate can park directly in front of his own house. A pirate is happy only if some part of his parking space lies in front of the center of his house.
Formally, the parking space of pirate $i$ is a real interval $[a_i, b_i]$ (with $a_i, b_i \in \mathbb{R}$) that is long enough to hold his ship, i.e. $l_i \le b_i - a_i$, where $l_i$ is the length of ship $i$. Pirate $i$ is happy exactly when $a_i \le x_i \le b_i$, where $x_i$ is the center of his house. The parking spaces of different pirates must be interior-disjoint (their endpoints may touch).
The captain (pirate $1$) insists on the best spot for himself: he takes the parking space in which the center of his ship coincides with the center of his house, namely $\left[x_1 - \tfrac{l_1}{2},, x_1 + \tfrac{l_1}{2}\right]$. With that choice fixed, he wants to make as many pirates as possible happy. Compute that maximum.
The first line contains a single integer: the number of test cases. Each test case has the following format:
For each test case, print a single line with one integer: the maximum number of happy pirates under an optimal assignment of parking spaces. This count includes the captain. You may assume the pier extends without bound in both directions.