样例1: 1 0 0 2 0 1 0 样例2: 8 1 1 4 4 5 4 6 4 3 4 2 4 4 5 4 6 4 3 4 2
样例1: right 样例2: up up up right right down down down right up up right right right up left left up up up left down down