import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	}
	
	int calc(int x) {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	}
	
	int calc(int x) {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	}
} Main public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args void run() {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	} run {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int d = sc.nextInt(); d sc.nextInt() sc.nextInt sc int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc sc.close() sc.close sc int res = 0; res 0 for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		} int i=1; int i=1; i 1 i++ i++ i {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		} {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		} if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			} calc(i) == d calc(i) calc i d {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			} res++ res if(res == n) {
					System.out.println(i);
					return;
				} res == n res n {
					System.out.println(i);
					return;
				} System.out.println(i) System.out.println System.out System System.out i return; int calc(int x) {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	} calc {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	} if(x%100 != 0) return 0;
		else return calc(x/100) + 1; x%100 != 0 x%100 x 100 0 return 0; 0 return calc(x/100) + 1; calc(x/100) + 1 calc(x/100) calc x/100 x 100 1 int x x public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	}
	
	int calc(int x) {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	}
} public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	}
	
	int calc(int x) {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		int res = 0;
		for(int i=1;;i++) {
			if(calc(i) == d) {
				res++;
				if(res == n) {
					System.out.println(i);
					return;
				}
			}
		}
		
	}
	
	int calc(int x) {
		if(x%100 != 0) return 0;
		else return calc(x/100) + 1;
	}
}