Welcome to our foolish round, We hope you enjoy the problems, Only those who are fool can solve the problems!
You'll be given a string, Find the answer and print it.
In the first line you'll get a string of lowercase English letters.
$$$1 \le |s| \le 100$$$.
Print a single integer.
abue
3
amir
2
qwsdr
0
You're given a string of length $$$n$$$, Print the answer modulo $$$10^9 + 7$$$.
A string of length $$$n$$$ will be given.
$$$1 \le n \le 10^5$$$.
Print the answer modulo $$$10^9 + 7$$$.
8 aaaaaaaa
1
10 tttttttttt
999928327
2 ab
2
2 cd
12
.-.. .. ...
You're given an array of integers of length $$$n$$$, Find the answer.
In the first line of input, You'll be given $$$n(1 \le n \le 10^5)$$$.
In the second line of input, You'll be given an array $$$a(1 \le a_{i} \le 10^9)$$$.
Print the answer.
3 1 2 3
3
The input contains two integers $$$row$$$, $$$col$$$ ($$$0 \le row, col \le 14$$$), separated by a single space.
Output "IN" or "OUT".
0 0
IN
6 0
OUT
This problem's statement is secret :
"uoY'er viegn na raayr fo itnsereg, dnif hte cesdno tslmlesa etelmne fo het rraya nad irtpn ti".
In the first line of input, You'll be given $$$n(2 \le n \le 100)$$$.
In the second line of input, You'll be given an array $$$a(2 \le a_{i} \le 100)$$$.
Print the answer.
8 2 3 5 7 13 17 19 23
3
$$$-69 \le x \le 69$$$.
Answer will be a number $$$y$$$ which $$$-4676 \le y \le 4846$$$.
0
85
1
16
You're given a number $$$n$$$, Print the answer.
$$$1 \le n \le 2023$$$.
Print a single integer.
6
6
12
1
1000
3
2
2
100
5
TheForces rounds are the best rounds ever.
You will be given a number.
Print the answer.
1
84
10
32