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);
        }

    }

}


/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz