
     import java.io.*;
public class Main{
  public static void main(String[] args){
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  }
} import java.io.*; io.* java public class Main{
  public static void main(String[] args){
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  }
} Main public static void main(String[] args){
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  } main {
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  } int D=1; D 1 int N=1; N 1 String buf1 buf1 buf2 buf2 buf3; buf3 try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  } catch(Exception e) {
      System.out.print("Error:" + e);
  } Exception e {
      System.out.print("Error:" + e);
  } System.out.print("Error:" + e) System.out.print System.out System System.out "Error:" + e "Error:" e {
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) buf1 = br.readLine() buf1 br.readLine() br.readLine br buf2 = buf1.substring(0,buf1.indexOf(" ")) buf2 buf1.substring(0,buf1.indexOf(" ")) buf1.substring buf1 0 buf1.indexOf(" ") buf1.indexOf buf1 " " buf3 = buf1.substring(buf1.indexOf(" ")+1) buf3 buf1.substring(buf1.indexOf(" ")+1) buf1.substring buf1 buf1.indexOf(" ")+1 buf1.indexOf(" ") buf1.indexOf buf1 " " 1 D= Integer.parseInt(buf2) D Integer.parseInt(buf2) Integer.parseInt Integer buf2 N = Integer.parseInt(buf3) N Integer.parseInt(buf3) Integer.parseInt Integer buf3 if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    } N<=100 N 100 {
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    } if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}} D==0 D 0 {
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}} if(N==100){System.out.println(N+1);}
     else{System.out.println(N);} N==100 N 100 {System.out.println(N+1);} System.out.println(N+1) System.out.println System.out System System.out N+1 N 1 {System.out.println(N);} System.out.println(N) System.out.println System.out System System.out N if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}} D==1 D 1 {
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}} if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);} N==100 N 100 {System.out.println(N*101);} System.out.println(N*101) System.out.println System.out System System.out N*101 N 101 {System.out.println(N*100);} System.out.println(N*100) System.out.println System.out System System.out N*100 N 100 if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}} D==2 D 2 {
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}} if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);} N==100 N 100 {System.out.println(N*10100);} System.out.println(N*10100) System.out.println System.out System System.out N*10100 N 10100 {System.out.println(N*10000);} System.out.println(N*10000) System.out.println System.out System System.out N*10000 N 10000 String[] args args public class Main{
  public static void main(String[] args){
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  }
} public class Main{
  public static void main(String[] args){
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  }
} Main

     import java.io.*;
public class Main{
  public static void main(String[] args){
    int D=1;
    int N=1;
    String buf1,buf2,buf3;
    try{
      BufferedReader br
          = new BufferedReader(new InputStreamReader(System.in));

      buf1 = br.readLine();
      buf2 = buf1.substring(0,buf1.indexOf(" "));
      buf3 = buf1.substring(buf1.indexOf(" ")+1);
      D= Integer.parseInt(buf2);
      N = Integer.parseInt(buf3);

  } catch(Exception e) {
      System.out.print("Error:" + e);
  }
    if(N<=100){
    if(D==0){
     if(N==100){System.out.println(N+1);}
     else{System.out.println(N);}}
     if(D==1){
       if(N==100){System.out.println(N*101);}
     else{System.out.println(N*100);}}
    if(D==2){
       if(N==100){System.out.println(N*10100);}
     else{System.out.println(N*10000);}}
    }


  }
}