import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == 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 if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		} d == 0 d 0 {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		} int cnt = 0; cnt 0 for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} int i = 1; int i = 1; i 1 i++ i++ i {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				} i % 100 != 0 i % 100 i 100 0 {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				} cnt++ cnt if (cnt == n) {
						System.out.println(i);
						return;
					} cnt == n cnt n {
						System.out.println(i);
						return;
					} System.out.println(i) System.out.println System.out System System.out i return; if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		} d == 1 d 1 {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		} int cnt = 0; cnt 0 for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} int i = 100; int i = 100; i 100 i+=100 i+=100 i 100 {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				} i % 10000 != 0 i % 10000 i 10000 0 {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				} cnt++ cnt if (cnt == n) {
						System.out.println(i);
						return;
					} cnt == n cnt n {
						System.out.println(i);
						return;
					} System.out.println(i) System.out.println System.out System System.out i return; if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		} d == 2 d 2 {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		} int cnt = 0; cnt 0 for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} int i = 10000; int i = 10000; i 10000 i+=10000 i+=10000 i 10000 {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			} if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				} i % 1000000 != 0 i % 1000000 i 1000000 0 {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				} cnt++ cnt if (cnt == n) {
						System.out.println(i);
						return;
					} cnt == n cnt n {
						System.out.println(i);
						return;
					} System.out.println(i) System.out.println System.out System System.out i return; String[] args args public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int n = sc.nextInt();
		sc.close();

		if (d == 0) {
			int cnt = 0;
			for (int i = 1; ; i++) {
				if (i % 100 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 1) {
			int cnt = 0;
			for (int i = 100; ; i+=100) {
				if (i % 10000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
		if (d == 2) {
			int cnt = 0;
			for (int i = 10000; ; i+=10000) {
				if (i % 1000000 != 0) {
					cnt++;
					if (cnt == n) {
						System.out.println(i);
						return;
					}
				}
			}
		}
	}
}
