import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    } main {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int m=sc.nextInt(); m sc.nextInt() sc.nextInt sc if(m==100)m=101; m==100 m 100 m=101 m 101 System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000") System.out.println System.out System System.out (m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000" (m==0) m 0 0 (n==0)?m:(n==1)?m+"00":m+"0000" (n==0) n 0 m (n==1)?m+"00":m+"0000" (n==1) n 1 m+"00" m "00" m+"0000" m "0000" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc=new Scanner(System.in);
      int n=sc.nextInt();
      int m=sc.nextInt();
      if(m==100)m=101;
      System.out.println((m==0)?0:(n==0)?m:(n==1)?m+"00":m+"0000");
    }
}
