In positional base-d notation, an integer K=(A_1A_2…A_m)_d (where A_i∈\[0,d) and A_1=0) is called \textit{good} if and only if A_1,…,A_m is a permutation of integers from 0 to d−1.
A number K is \textit{nice} if and only if there exists at least one d≥2 such that K is good in positional base-d notation.
Calculate the number of nice numbers in the interval \[L,R]. As the answer may be very large, find it modulo 998,244,353.
The first line of the input contains two integers L and R (1≤L≤R≤105000).
Print a single line with a single integer: the answer modulo 998,244,353.