For every test case, the output will be a series of lines describing the operations to be performed with the plates. The content of each line will be one of the following:
1、 DROP 1 m (DROP 2 m), m > 0, if Tom needs to take a plate from the waiter, drop it on top of pile 1 (pile 2), and repeat this operation m times in total.
2、 TAKE 1 m (TAKE 2 m), m > 0, if Tom needs to take a plate from the top of pile 1 (pile 2), pass it along to the dishwasher, and repeat m times in total.
3、 MOVE 1->2 m (MOVE 2->1 m), m > 0, if Tom needs to take a plate from the top of pile 1 (pile 2), drop it on top of pile 2 (pile 1), and repeat m times in total.
You must output at most 6N lines, and the total number of movements of plates in your transcript (that is, the sum of the m's printed in your output, for all three kinds of operations), must be at most 6M, as otherwise Tom won't be able to cope with all the work.Note that Tom must obey the commands in the same order as they are issued. This means that, if he receives a TAKE m command, he must perform a certain number of MOVE and TAKE operations such that the sum of the numbers of plates taken adds up exactly to m before performing the operations corresponding to the next command; and if he receives a DROP m command, he must perform a number of DROP or MOVE operations for which the sum of the nu- mbers of plates dropped adds up exactly to m before performing the operations corresponding to the next command.Of course, it is also forbidden to take plates from the waiter or pass them along to the dishwasher in the absence of the corr- esponding order. There must be an empty line between the outputs of dierent cases. Any solution satisfying these conditions will be accepted.