Eva defines a string

with length

(indexed from

to

) is
divisible if:
-
the length of
is greater than
(i.e.
) , and
-
there exists a positive integer
satisfying
(i.e.
is a divisor of
) , and for all integer
,
Here

denotes the character of

with index

, for example, let
abcde then
a and
b.
Then, Eva defines a string

is
indivisible if

is
not divisible.
For example, string
abcde or string
a is
indivisible, but string
aa is
not indivisible.
Colin defines an
indivisible partition of a string

with length

as a series of integers
)
satisfying:
-
, and
-
for all integer
satisfying
and
is indivisible.
Here
![S[l:r]](https://www.nowcoder.com/equation?tex=S%5Bl%3Ar%5D)
denotes the substring of

with index form

to

, for example, let
abcde then
bcd .
Given a string

, please count the number of different
indivisible partitions of

module 998244353.
We consider two
indivisible partitions 
are different if

, or there exists an integer
![i\in[1, k_1]](https://www.nowcoder.com/equation?tex=i%5Cin%5B1%2C%20k_1%5D)
satisfies

.
Please note the unusual memory limit.
输入描述:
The first line contains a string
consisting of lowercase letters, representing the given string.
输出描述:
A single integer, represents the number of different indivisible partitions of string
module 998244353.
示例1
说明
the 3 different indivisible partitions of aab are:
1.
, the string is divided into a + a + b
2.
, the string is divided into a + ab
3.
, the string aab itself meets the definition of indivisible.