We have installed a robot in our warehouse and now we need to be able to send it commands to control it. We need you to implement the control mechanism.
For convenience the robot moves along a grid in the roof of the warehouse and we have made sure that all of our warehouses are built so that the dimensions of the grid are 10 by 10. We've also made sure that all our warehouses are aligned along north-south and east-west axes.
All of the commands to the robot consist of a single capital letter and different commands are dilineated by whitespace.