#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ string s; int i,q,k,o,e,l,r,a,b; int ar[26]={0}; cin>>s; for(i=0;i>q; while(q--) { k=o=e=0; int x[1000]={0};int odd[1000]={0};int ev[1000]={0}; cin>>l>>r; for(i=l-1;i