import java.util.*;

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

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int d = sc.nextInt();
    int n = sc.nextInt();
    int ans = 0;

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int d = sc.nextInt();
    int n = sc.nextInt();
    int ans = 0;

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    int d = sc.nextInt();
    int n = sc.nextInt();
    int ans = 0;

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  } 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 int ans = 0; ans 0 if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    } d == 0 d 0 {
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    } if(n < 100){ans = n;}
      else{ans = n + 1;} n < 100 n 100 {ans = n;} ans = n ans n {ans = n + 1;} ans = n + 1 ans n + 1 n 1 if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    } d == 1 d 1 {
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    } if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;} n < 100 n 100 {ans = 100 * n;} ans = 100 * n ans 100 * n 100 n {ans = 100 * 101;} ans = 100 * 101 ans 100 * 101 100 101 {
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    } if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;} n < 100 n 100 {ans = 10000 * n;} ans = 10000 * n ans 10000 * n 10000 n {ans = 10000 * 101;} ans = 10000 * 101 ans 10000 * 101 10000 101 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int d = sc.nextInt();
    int n = sc.nextInt();
    int ans = 0;

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int d = sc.nextInt();
    int n = sc.nextInt();
    int ans = 0;

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  }
} Main
import java.util.*;

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

    if(d == 0){
      if(n < 100){ans = n;}
      else{ans = n + 1;}
    }else if(d == 1){
      if(n < 100){ans = 100 * n;}
      else{ans = 100 * 101;}
    }else{
      if(n < 100){ans = 10000 * n;}
      else{ans = 10000 * 101;}
    }

    System.out.println(ans);
  }
}
