输入一个数n,表示塔层数
按样例格式输出最优移动过程和最优移动总步数
2
Move 1 from left to mid Move 1 from mid to right Move 2 from left to mid Move 1 from right to mid Move 1 from mid to left Move 2 from mid to right Move 1 from left to mid Move 1 from mid to right It will move 8 steps.
当塔数为两层时,最上层的塔记为1,最下层的塔记为2