import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static String st; static void initialize(String s) { // This function is called once before all queries. st=s; } static int answerQuery(int l, int r) { // Return the answer for this query modulo 1000000007. String str = st.substring(l-1,r); int k=0,t=0,i,n=str.length(); for(i=0; i