Milly and Pranjul are playing a game in which Pranjul will give an index of a chocolate. Then, Milly has to tell him the box number in which that chocolate is in. There are N such boxes and Ci chocolates are there in i^th the box. Description of index is given below :

Suppose there are A1, A2 … AN chocolates in 1^st, 2^nd… N^th boxes respectively. So, indexing of chocolates in 1^st box will be from 1 to A1, similarly in 2^nd box indexing will be A1 + 1 to A2 … and indexing in N^th box will be from AN-1 + 1 to AN. 

Milly is blind folded so she can’t see the boxes. You are required to help her. 

Input

First line will contain N (No. of boxes). Next line will contain N space separated integers denoting Ci, the number of chocolates in i^th box.
Next line will contain Q (No. of times Pranjul will ask her). Then each next Q lines will contain the asked index I.

Output
For every query, print in a new line : the box number in which that index of chocolate is in.
Constraints

1 ≤ N, Q ≤ 10^5
1 ≤ Ci ≤ 10
1 ≤ ∑ Ci ≤ 10^6
1 ≤ I ≤ ∑ Ci

SAMPLE INPUT
2
2 3
2
2
4

SAMPLE OUTPUT
1
2

Explanation

First Box will have the indexes : 1, 2 
Second Box will have the indexes : 3, 4, 5
n=int(raw_input())                                                                                                                              
lst=map(int,raw_input().split())                                                                                                                
c=int(raw_input())                                                                                                                              
list1=[]                                                                                                                                        
for i in range(1,len(lst)):                                                                                                                     
    lst[i]=lst[i-1]+lst[i]                                                                                                                      
for i in range(0,c):                                                                                                                            
    c=int(raw_input())                                                                                                                          
    list1.append(c)                                                                                                                             
def func(temp,lst,i,j):                                                                                                                         
    mid=(i+j)/2                                                                                                                                 
    if(mid>=1):                                                                                                                                 
        if(lst[mid-1]<temp and lst[mid]>=temp):                                                                                                 
            print mid +1                                                                                                                          
        else:                                                                                                                                   
            if(lst[mid-1]>=temp):                                                                                                               
                func(temp,lst,i,mid-1)                                                                                                          
            else:                                                                                                                               
                func(temp,lst,mid+1,j)                                                                                                          
    else:                                                                                                                                       
        if(lst[mid]>=temp):                                                                                                                     
            print mid   +1                                                                                                                        
        else:                                                                                                                                   
            print mid+1  +1                                                                                                                       
                                                                                                                                                
def func1(list1,lst):                                                                                                                           
    n=len(lst)                                                                                                                                  
    for i in range(0,len(list1)):                                                                                                               
        func(list1[i],lst,0,n-1)                                                                                                                
func1(list1,lst)