

import java.util.Scanner;

// ABC100 at 2018/06/16

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solveB();
    }

    private void solveA() {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

    private void solveB() {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    }

    private void solveC() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveD() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveE() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveF() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solveB();
    }

    private void solveA() {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

    private void solveB() {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    }

    private void solveC() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveD() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveE() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveF() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

} Main public static void main(String[] args) {
        Main main = new Main();
        main.solveB();
    } main {
        Main main = new Main();
        main.solveB();
    } Main main = new Main(); main new Main() main.solveB() main.solveB main String[] args args private void solveA() {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    } solveA {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        } A > 8 || B > 8 A > 8 A 8 B > 8 B 8 {
            System.out.println(":(");
        } System.out.println(":(") System.out.println System.out System System.out ":(" {
            System.out.println("Yay!");
        } System.out.println("Yay!") System.out.println System.out System System.out "Yay!" private void solveB() {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    } solveB {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int D = sc.nextInt(); D sc.nextInt() sc.nextInt sc int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        } D == 0 D 0 {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            } N == 100 N 100 {
                System.out.println((N + 1));
            } System.out.println((N + 1)) System.out.println System.out System System.out (N + 1) N 1 {
                System.out.println(N);
            } System.out.println(N) System.out.println System.out System System.out N if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        } D == 1 D 1 {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            } N == 100 N 100 {
                System.out.println((N + 1) * 100);
            } System.out.println((N + 1) * 100) System.out.println System.out System System.out (N + 1) * 100 (N + 1) N 1 100 {
                System.out.println(N * 100);
            } System.out.println(N * 100) System.out.println System.out System System.out N * 100 N 100 {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        } if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            } N == 100 N 100 {
                System.out.println((N + 1) * 10000);
            } System.out.println((N + 1) * 10000) System.out.println System.out System System.out (N + 1) * 10000 (N + 1) N 1 10000 {
                System.out.println(N * 10000);
            } System.out.println(N * 10000) System.out.println System.out System System.out N * 10000 N 10000 private void solveC() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } solveC {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc System.out.println(N) System.out.println System.out System System.out N private void solveD() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } solveD {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc System.out.println(N) System.out.println System.out System System.out N private void solveE() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } solveE {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc System.out.println(N) System.out.println System.out System System.out N private void solveF() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } solveF {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc System.out.println(N) System.out.println System.out System System.out N public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solveB();
    }

    private void solveA() {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

    private void solveB() {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    }

    private void solveC() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveD() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveE() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveF() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

} public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solveB();
    }

    private void solveA() {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

    private void solveB() {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    }

    private void solveC() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveD() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveE() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveF() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

} Main


import java.util.Scanner;

// ABC100 at 2018/06/16

public class Main {
    public static void main(String[] args) {
        Main main = new Main();
        main.solveB();
    }

    private void solveA() {
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt();
        int B = sc.nextInt();
        if (A > 8 || B > 8) {
            System.out.println(":(");
        } else {
            System.out.println("Yay!");
        }
    }

    private void solveB() {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        if (D == 0) {
            if (N == 100) {
                System.out.println((N + 1));
            } else {
                System.out.println(N);
            }
        } else if (D == 1) {
            if (N == 100) {
                System.out.println((N + 1) * 100);
            } else {
                System.out.println(N * 100);
            }
        } else {
            if (N == 100) {
                System.out.println((N + 1) * 10000);
            } else {
                System.out.println(N * 10000);
            }
        }
    }

    private void solveC() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveD() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveE() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

    private void solveF() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.println(N);
    }

}