import java.util.*;
public class Main{
  public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  }
} import java.util.*; util.* java public class Main{
  public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  }
} Main public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  } main {
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int c=0; c 0 int arr[]={1,100,10000,1000000}; arr {1,100,10000,1000000} 1 100 10000 1000000 for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	} int i=1; int i=1; i 1 i++ i++ i {
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	} {
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	} if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++; (i%arr[a]==0)&&(i%arr[a+1]!=0) (i%arr[a]==0) i%arr[a] i arr[a] arr a 0 (i%arr[a+1]!=0) i%arr[a+1] i arr[a+1] arr a+1 a 1 0 c++ c if(c==b){
			System.out.println(i);
			break;
		} c==b c b {
			System.out.println(i);
			break;
		} System.out.println(i) System.out.println System.out System System.out i break; String arg[] arg public class Main{
  public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  }
} public class Main{
  public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  }
} Main
import java.util.*;
public class Main{
  public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int c=0;
	int arr[]={1,100,10000,1000000};
	for(int i=1;;i++){
		if((i%arr[a]==0)&&(i%arr[a+1]!=0))
			c++;
		if(c==b){
			System.out.println(i);
			break;
		}
	}
	
  }
}