#LG7. 数的统计

数的统计

Background

Before attempting this problem, we recommend reviewing the 【Instructions】 section.

Description

You are given a number nn. Let 1xn1 \le x \le n, and assume that the product of the digits of xx is greater than or equal to mm. Determine how many such values of xx exist.

Format

Input

22 integers nn , mm . For details, please refer to [Description]

Output

11 integer, representing the answer.

Samples

input1

114 78

output1

1

Instructions

1n1081 \le n \le 10^8

2m1062 \le m \le 10^6