{"trustable":false,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"MD","content":"对于数字好像大家都喜欢找他们的谐音,所以,62和4,这样的数字,人们会觉得这样的数不好。 \n我们定义,如果给定的一串数字,如果其中含有62或者4,我们叫他为not good number。例如:62123 96480 66734,但是对于61152这样的数字,虽然含有6和2,但不是62连号,所以他是一个good number。\n现在,让你找出对于区间[n,m],找出里面的good number的个数。"}},{"title":"Input","value":{"format":"MD","content":"输入有多组数据,每组由两个整数n、m构成(0\u003cn≤m\u003c1000000),如果n和m均为0,则输入结束。 "}},{"title":"Output","value":{"format":"MD","content":"对于每个整数对,输出good number的个数,该数值占一行。 "}},{"title":"Sample Input","value":{"format":"MD","content":"1 100\n0 0"}},{"title":"Sample Output","value":{"format":"MD","content":"80"}}]}