#include
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include
#define ll long long
using namespace std;
bool haha(int maze[][50],int i,int j,int m,int n,char out[][50]){
//base case
if(i==m-1 && j==n-1){
for(int k=0;k<m;k++){
for(int l=0;l<n;l++){
if(maze[i][j]==1){
cout<<"*";
}
else{
cout<<"-";
}
}
cout<<endl;
}
return true;
//print the maze
}
//rec. case
if(out[i][j]!=‘0’){
maze[i][j]=1;
bool yo=haha(maze,i+1,j,m,n,out);
bool ho=haha(maze,i,j+1,m,n,out);
maze[i][j]=0;
return false;
}
return false;
}
int main(){
int m,n;
// m and n ko 4 4 lele
cin>>m>>n;
int maze[m][n]={0};
char out[50][50]={"00x0","00x0","0000","0x00"};
/*for(int i=0;i<m;i++){
for(int j=0;j<n;j++){
cin>>out[i][j];
}
}*/
bool yo=haha(maze,0,0,m,n,out);
return 0;
}