#lx001. 智慧林区的环保密码

    ID: 6542 传统题 文件IO:environmentalpassword 1000ms 256MiB 尝试: 2 已通过: 2 难度: 1.21 上传者: 标签>其他数学模拟deepseek-J-1

智慧林区的环保密码

Title Description

The Environmental Protection Bureau of Oasis City uses a special numbering system to manage trees. The number of each tree is a positive integer, and experts have found that when the sum of the numbers in the number is a prime number, the tree has a stronger carbon sequestration ability. We now need to count the number of trees that meet the requirements in a certain area of the forest region, L,RL, R.

Input format

Two integers, LL and RR , separated by spaces

Output format

An integer represents the answer

Example

10 20
5