import java.io.*;
import java.util.*;
import java.math.BigInteger;
public class Main {

static long[] list=new long[87];

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
}
static int func(int x){
if(x%100 !=0) return 0;
return func(x/100)+1;
}

}
 import java.io.*; io.* java import java.util.*; util.* java import java.math.BigInteger; BigInteger java.math public class Main {

static long[] list=new long[87];

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
}
static int func(int x){
if(x%100 !=0) return 0;
return func(x/100)+1;
}

} Main static long[] list=new long[87]; list new long[87] 87 public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
} main {
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] nyuA=sc.nextLine().split(" "); nyuA sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int D=Integer.parseInt(nyuA[0]); D Integer.parseInt(nyuA[0]) Integer.parseInt Integer nyuA[0] nyuA 0 int N=Integer.parseInt(nyuA[1]); N Integer.parseInt(nyuA[1]) Integer.parseInt Integer nyuA[1] nyuA 1 int cut=0; cut 0 for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f int x=1; int x=1; x 1 x++ x++ x {
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f {
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

} if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if func(x)==D func(x) func x D {
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
} cut++ cut if(cut==N){
System.out.println(x);
break;
}//if cut==N cut N {
System.out.println(x);
break;
} System.out.println(x) System.out.println System.out System System.out x break; String[] args args static int func(int x){
if(x%100 !=0) return 0;
return func(x/100)+1;
} func {
if(x%100 !=0) return 0;
return func(x/100)+1;
} if(x%100 !=0) return 0; x%100 !=0 x%100 x 100 0 return 0; 0 return func(x/100)+1; func(x/100)+1 func(x/100) func x/100 x 100 1 int x x public class Main {

static long[] list=new long[87];

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
}
static int func(int x){
if(x%100 !=0) return 0;
return func(x/100)+1;
}

} public class Main {

static long[] list=new long[87];

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
}
static int func(int x){
if(x%100 !=0) return 0;
return func(x/100)+1;
}

} Main
import java.io.*;
import java.util.*;
import java.math.BigInteger;
public class Main {

static long[] list=new long[87];

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

   String[] nyuA=sc.nextLine().split(" ");
   
int D=Integer.parseInt(nyuA[0]);
int N=Integer.parseInt(nyuA[1]);

int cut=0;
for(int x=1;;x++){
if(func(x)==D){
cut++;
if(cut==N){
System.out.println(x);
break;
}//if
}//if

}//f

//System.out.println(data);
}
static int func(int x){
if(x%100 !=0) return 0;
return func(x/100)+1;
}

}

