Little G lives in the Grid Country. The Grid Country can be regarded as points, the top left is
and the bottom right is
, and Little G lives in
.
One day, Little G wants to travel round the country for days. Every day, Little G can move up, down, left or right one step. More formally,
if Little G move up,
if Little G move down,
if Little G move left,
if Little G move right.
After -days travel, Little G must return home, the point
(but Little G doesn't want to return home before the end of the
-days travel). Also, Little G don't want to visit any point twice and Little G can't move out of the country.
Please design a travel route for Little G. The travel route is a string of length , consists of only ‘U’,‘D’,‘L’,‘R’, which means move up, down, left or right on this day.
The first line contains a single integer
- the number of test cases.
Each of the next
lines contains five integers
![]()
It is guaranteed their exist a valid route for each test case, and
.
For each test case, output a valid travel route.