#import <stdio.h>
int main(){
    int n,d;
    scanf("%d %d",&d,&n);
    int count=0;
    int dd[] = {1,100,10000,100000000};
    int m = dd[d];
    for(int i=m;;i+=m){
        if (i % dd[d+1] != 0) count++;
        if (count == n) {
            printf("%d",i);
            return 0;
        }
    }
    return 0;
}
