1279 - Solve Rubiks

Time Limit: 1s Memory Limit: 128MB

Special Judge Submissions: 14 Solved: 3
Description
Rubiks cube is fantastic, you can play an online version here.(Be sure that you have installed jre) Well, this time, you are asked to solve some given cases. There are 5 cases as following:
Input
no input
Output
You should output the operations needed to recover the cube. One line for one case. The form is the same as THIS Each line should contain no more than 1000 operations.
Sample Input

    
Sample Output
U2 D2 L2 R2 F2 B2
......
......
......



(5 lines in total)
Hint
Source