In order to help his fans improve the skills for competitions, CC has established an online chatting group and communicates with the fans about the techniques every day. However, some netizens do not work hard and always repeat meaningless messages. After CC sent an integer \(0\), some netizen will sent an integer \(1\) and then another sent \(2\) ... This annoys CC so he decides to kick some of the netizens out of the chatting group.

CC has infinite fans. After CC sent the integer \(0\), the netizens will sent \(1,2,3,4,...\), the positive integers one by one. Notice that each netizen will send an integer, and different netizens send different integers. CC considers those netizens who sends an integer contains no \(0\) or \(1\) digits in decimal (ignoring leading zeros) as NB netizens, and others are not NB. For example, A sends the integer \(3482\) so A is NB because there are no \(0\) or \(1\) in \(3,4,8,2\). B who sends \(402\) is not NB because there is a \(0\).

Now, CC kicks out those netizens who are not NB. After that, CC invites some of those remaining netizens in the group, who he thinks are also too naive, to attend exercise. He will give two positive integers \(L,R\) and invites those NB netizens who send an integer where the product of each digit of the integer is in \([L,R]\).

For example, given \(L=50, R=300\). Then, the netizen who sends \(567\) will be invited because he/she is NB and \(5\times 6\times 7=210\in[50,300]\). The netizen who sends \(255\) will also be invited. However, who sends \(328\) will not be invited.

CC wants to know how many NB netizens will be invited.