The OIE arrives, and your family decides to take the opportunity to travel to Coruña with you, enjoying the city while you suffer solving problems. However, this plan will not be easy to carry out, as there are many of you in the family and you have only one car.
In your family, there are $$$n$$$ people, and you have a single car with $$$k$$$ seats. Therefore, to go to Coruña, you will have to make several trips. Initially, the car and the $$$n$$$ family members are in your city. In each trip, the car will move from your city to Coruña or from Coruña to your city, transporting between $$$1$$$ and $$$k$$$ family members, one of whom will be the driver.
Moreover, it would be dangerous for the same person to drive too much. Depending on their situation, some family members can drive more or fewer times (some do not even have a license, so they cannot drive at all). Specifically, the $$$i$$$-th family member can drive at most $$$a_i$$$ times without becoming a danger to road safety.
Determine if the trip your family plans is possible, and if it is, write an itinerary that your family can follow so that everyone arrives in Coruña without anyone driving too much.
The first line contains an integer $$$T$$$, the number of cases. The following $$$T$$$ cases each consist of $$$2$$$ lines:
For each case, you must print on a single line with "SI" or "NO", depending on whether your family's plan is possible.
If it is possible, you must then print a valid itinerary. First, print a single line with an integer $$$m$$$, the number of trips in your itinerary. Since the car alternates its position, odd trips will be from your city to Coruña and even trips will be from Coruña to your city.
For each trip, you must print two lines.
26 32 1 0 3 0 15 20 2 0 1 0
SI 5 3 6 2 5 1 2 3 1 2 3 1 1 2 4 1 NO
| Name |
|---|


