Làm tròn số

View as PDF

Submit solution

Points: 0.01
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Cho 2 số nguyên n, k (Với 0≤k≤9, 1≤n≤10000). Hãy "làm tròn" số n lên 1 số nhỏ nhất có ít nhất k chữ số 0 đằng sau và chia hết cho n.

Input

Dòng đầu tiên chứa 2 số nguyên n, k (Với 0≤k≤9, 1≤n≤10000).

Output

Một dòng duy nhất chứa 1 số là số n sau khi được "làm tròn".

Examples

Input

1 1

Output

10

Input

3 0

Output

3

Input

9 6

Output

9000000

Comments

Please read the guidelines before commenting.


There are no comments at the moment.