using System;
namespace Algorithm
{
internal class Program
{
static void Main(string[] args)
{
Move(3,'A','B','C');
}
static void Move(int _count, char _A, char _B, char _C)
{
if (_count > 0)
{
Move(_count - 1, _A, _C, _B);
Console.WriteLine($"从{_A}----->{_C}");
Move(_count - 1, _B, _A, _C);
}
}
}
}