import java.io.*;
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    }
    
    public static int func(int x) {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    }
    
    public static int func(int x) {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    } main {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) final int D = Integer.parseInt(sc.next()); D Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc final int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int cnt = 0; cnt 0 int ans = 0; ans 0 for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        } int i = 1; int i = 1; i 1 cnt < N cnt N i++ i++ i {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        } {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        } if (func(i) == D) {
                cnt++;
                ans = i;
            } func(i) == D func(i) func i D {
                cnt++;
                ans = i;
            } cnt++ cnt ans = i ans i out.println(ans) out.println out ans out.flush() out.flush out String[] args args public static int func(int x) {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    } func {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    } if (x % 100 != 0) return 0; x % 100 != 0 x % 100 x 100 0 return 0; 0 return func(x / 100) + 1; func(x / 100) + 1 func(x / 100) func x / 100 x 100 1 int x x public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    }
    
    public static int func(int x) {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    }
    
    public static int func(int x) {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    }
} Main
import java.io.*;
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);

        final int D = Integer.parseInt(sc.next());
        final int N = Integer.parseInt(sc.next());
        int cnt = 0;
        int ans = 0;
        
        for (int i = 1; cnt < N; i++) {
            if (func(i) == D) {
                cnt++;
                ans = i;
            }
        }
        
        out.println(ans);
        
        out.flush();
    }
    
    public static int func(int x) {
        if (x % 100 != 0) return 0;
        return func(x / 100) + 1;
    }
}