Given a string s, find the number of ways to split s to substrings such that if there are

substrings
)
in partition, then

for all
)
and

is even.
Since the number of ways can be large, print it modulo

.
输入描述:
The only line of input contains a string
of even length consisting of lowercase Latin letters.
输出描述:
Print one integer, the number of ways of partitioning the string modulo
.
备注:
https://codeforces.com/contest/932/problem/G