#include<cstdio>
#include<iostream>
#include<cstring>
#include<sstream>
using namespace std;
int print(int number,int time)
{
for(int i=0;i<number;i++)
printf("&");
if (number>1) print(number-1,time+1);
cout<<"这是第"<<time<<"次递归完成!"<<endl;
return 0;
}
int main()
{
int x,y;
cin>>x;
y=print(x,1);
return 0;
}