For a given positive integer n denote its k-rounding as the minimum positive integer x, such that x ends with k or more zeros in base 10 and is divisible by n.

For example, 4-rounding of 375 is 375·80 = 30000. 30000 is the minimum integer such that it ends with 4 or more zeros and is divisible by 375.

Write a program that will perform the k-rounding of n.

Input

The only line contains two integers n and k (1 ≤ n ≤ 109, 0 ≤ k ≤ 8).

Output

Print the k-rounding of n.

Examples

Input

375 4


Output

30000


Input

10000 1


Output

10000


Input

38101 0


Output

38101


Input

123456789 8


Output

12345678900000000
import java.awt.*;
import java.lang.*;
import java.io.*;
import java.util.*;

public class Main {
    public class Point {
        long x, y;

        Point(long x, long y) {
            this.x = x;
            this.y = y;
        }

        Point(Point a, Point b) {
            x = b.x - a.x;
            y = b.y - a.y;
        }

        public long Len() {
            return x * x + y * y;
        }

        public double Len_d() {
            return Math.sqrt(x * x + y * y);
        }

    }

    public class Line {
        long A, B, C;

        public Line(Point first, Point second) {
            A = first.y - second.y;
            B = second.x - first.x;
            C = first.x * second.y - second.x * first.y;
        }

        public long sign(Point p) {
            long res = A * p.x + B * p.y + C;
            if (res > 0) {
                return 1;
            } else if (res == 0) {
                return 0;
            } else {
                return -1;
            }

        }
    }

    public void solve() throws IOException {
        int n = nextInt(), k = nextInt();
        long m = n;
        int cnt2 = 0, cnt5 = 0;
        while(n % 2 == 0){
            n /= 2;
            cnt2++;
        }
        while(n % 5 == 0){
            n /= 5;
            cnt5++;
        }
        long res = 1;
        while(cnt2 < k){
            res *= 2;
            cnt2++;
        }
        while(cnt5 < k){
            res *= 5;
            cnt5++;
        }
        res *= m;
        out.print(res);
    }


    BufferedReader br;
    StringTokenizer sc;
    PrintWriter out;

    public static void main(String[] args) throws IOException {
        Locale.setDefault(Locale.US);
        new Main().run();
    }

    void run() throws IOException {
        try {
            br = new BufferedReader(new InputStreamReader(System.in));
            out = new PrintWriter(System.out);
            solve();
            out.close();
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(1);
        }
    }

    String nextToken() throws IOException {
        while (sc == null || !sc.hasMoreTokens()) {
            try {
                sc = new StringTokenizer(br.readLine());
            } catch (Exception e) {
                return null;
            }
        }
        return sc.nextToken();
    }

    int nextInt() throws IOException {
        return Integer.parseInt(nextToken());
    }

    long nextLong() throws IOException {
        return Long.parseLong(nextToken());
    }

    double nextDouble() throws IOException {
        return Double.parseDouble(nextToken());
    }

}