import java.util.Scanner;
public class Main {

		public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		}

		static int func(int x) {
			if(x%100!=0)return 0;
			return func(x/100)+1;
		}
} import java.util.Scanner; Scanner java.util public class Main {

		public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		}

		static int func(int x) {
			if(x%100!=0)return 0;
			return func(x/100)+1;
		}
} Main public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		} main {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int d d n; n d=scan.nextInt() d scan.nextInt() scan.nextInt scan n=scan.nextInt() n scan.nextInt() scan.nextInt scan int cnt=0; cnt 0 for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			} int i=1; int i=1; i 1 i++ i++ i {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			} {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			} if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				} func(i)==d func(i) func i d {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				} cnt++ cnt if(cnt==n) {
						System.out.println(i);
						break;
					} cnt==n cnt n {
						System.out.println(i);
						break;
					} System.out.println(i) System.out.println System.out System System.out i 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 {

		public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		}

		static int func(int x) {
			if(x%100!=0)return 0;
			return func(x/100)+1;
		}
} public class Main {

		public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		}

		static int func(int x) {
			if(x%100!=0)return 0;
			return func(x/100)+1;
		}
} Main
import java.util.Scanner;
public class Main {

		public static void main(String[] args) {
			Scanner scan = new Scanner(System.in);
			int d,n;
			d=scan.nextInt();
			n=scan.nextInt();

			int cnt=0;
			for(int i=1;;i++) {
				if(func(i)==d) {
					cnt++;
					if(cnt==n) {
						System.out.println(i);
						break;
					}
				}
			}
		}

		static int func(int x) {
			if(x%100!=0)return 0;
			return func(x/100)+1;
		}
}