#include<bits/stdc++.h>
using namespace std; // tower of hanoi
int towerofhanoi(int n,string src,string dest,string helper){
if(n==0){
return 0;
}
int k=1+towerofhanoi(n-1,src,helper,dest);
cout<<"Move "<<n<<"th disk from “<<src<<” to "<<dest<<endl;
k+=towerofhanoi(n-1,dest,helper,src);
}
int main(){
int n;
cin>>n;
cout<<towerofhanoi(n,“T1”,“T3”,“T2”);
return 0;
}