import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


}
} import java.util.*; util.* java public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


}
} Main public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


} main {
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int D=Integer.parseInt(sc.next()); D Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int N=Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    } D case 0: 0 case 0: if(N!=100){System.out.println(N);}else{System.out.println(101);} N!=100 N 100 {System.out.println(N);} System.out.println(N) System.out.println System.out System System.out N {System.out.println(101);} System.out.println(101) System.out.println System.out System System.out 101 break; case 1: 1 case 1: {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            } int i=0 i 0 count=0; count 0 while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                } true {i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                } i++ i if(i%100==0&&i%10000!=0&&i%1000000!=0)count++; i%100==0&&i%10000!=0&&i%1000000!=0 i%100==0&&i%10000!=0&&i%1000000!=0 i%100==0 i%100 i 100 0 i%10000!=0 i%10000 i 10000 0 i%1000000!=0 i%1000000 i 1000000 0 count++ count if(count==N){System.out.println(i);break;} count==N count N {System.out.println(i);break;} System.out.println(i) System.out.println System.out System System.out i break; break; default: default: {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            } int i=0 i 0 count=0; count 0 while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                } true {i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                } i++ i if(i%10000==0&&i%1000000!=0)count++; i%10000==0&&i%1000000!=0 i%10000==0 i%10000 i 10000 0 i%1000000!=0 i%1000000 i 1000000 0 count++ count if(count==N){System.out.println(i);break;} count==N count N {System.out.println(i);break;} System.out.println(i) System.out.println System.out System System.out i break; break; String[] args args public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


}
} public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


}
} Main
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int D=Integer.parseInt(sc.next());
int N=Integer.parseInt(sc.next());
    switch (D) {
        case 0:
            if(N!=100){System.out.println(N);}else{System.out.println(101);}
            break;
        case 1:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%100==0&&i%10000!=0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
        default:
            {
                int i=0,count=0;
                while(true){i++;
                if(i%10000==0&&i%1000000!=0)count++;
                if(count==N){System.out.println(i);break;}
                }               break;
            }
    }


}
}
