import java.util.*;

/**
 * Created by Santa on 2016/10/16.
 */
public class Main {

    static int N;
    static int A;
    static long B;
    static long C;
    static int[] map = new int[1000000];
    static int min = 9994999;




    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    }

}
 import java.util.*; util.* java public class Main {

    static int N;
    static int A;
    static long B;
    static long C;
    static int[] map = new int[1000000];
    static int min = 9994999;




    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    }

} Main static int N; N static int A; A static long B; B static long C; C static int[] map = new int[1000000]; map new int[1000000] 1000000 static int min = 9994999; min 9994999 public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    } main {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long A = scanner.nextInt(); A scanner.nextInt() scanner.nextInt scanner long B = scanner.nextInt(); B scanner.nextInt() scanner.nextInt scanner if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        } A == 0 A 0 {
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        } if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B); B >= 100 B 100 {
                System.out.println(101);
            } System.out.println(101) System.out.println System.out System System.out 101 System.out.println(B) System.out.println System.out System System.out B if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        } A == 1 A 1 {
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        } int ans = 100; ans 100 for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            } int i = 1; int i = 1; i 1 i < B i B i++ i++ i {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            } {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            } ans += 100 ans 100 if((ans / 100) % 100 == 0)ans+=100; (ans / 100) % 100 == 0 (ans / 100) % 100 (ans / 100) ans 100 100 0 ans+=100 ans 100 System.out.println(ans) System.out.println System.out System System.out ans {
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        } int ans = 10000; ans 10000 for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            } int i = 1; int i = 1; i 1 i < B i B i++ i++ i {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            } {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            } ans += 10000 ans 10000 if((ans / 10000) % 100 == 0)ans+=10000; (ans / 10000) % 100 == 0 (ans / 10000) % 100 (ans / 10000) ans 10000 100 0 ans+=10000 ans 10000 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

    static int N;
    static int A;
    static long B;
    static long C;
    static int[] map = new int[1000000];
    static int min = 9994999;




    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    }

} public class Main {

    static int N;
    static int A;
    static long B;
    static long C;
    static int[] map = new int[1000000];
    static int min = 9994999;




    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    }

} Main
import java.util.*;

/**
 * Created by Santa on 2016/10/16.
 */
public class Main {

    static int N;
    static int A;
    static long B;
    static long C;
    static int[] map = new int[1000000];
    static int min = 9994999;




    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

//        int N = scanner.nextInt();

        long A = scanner.nextInt();
        long B = scanner.nextInt();

        if(A == 0){
            if(B >= 100) {
                System.out.println(101);
            }else
            System.out.println(B);
        }else if(A == 1){
            int ans = 100;
            for (int i = 1; i < B; i++) {
                ans += 100;
                if((ans / 100) % 100 == 0)ans+=100;
            }
            System.out.println(ans);
        }else{
            int ans = 10000;
            for (int i = 1; i < B; i++) {
                ans += 10000;
                if((ans / 10000) % 100 == 0)ans+=10000;
            }
            System.out.println(ans);
        }

    }

}

