#include <bits/stdc++.h>
#define ll long long

using namespace std;

int main()
{
    //freopen("input.txt","r",stdin);
    ll n,m,q;
    cin >> n >> m >> q;
    ll a[m];
    for(int i=0;i<m;i++) cin >> a[i];
    for(int i=m-2;i>=0;i--) a[i]=a[i]+a[i+1];
    while(q--)
    {
        ll x; cin >> x;
        ll low=0,high=m-1,pos=-1;
        while(low<=high)
        {
            ll mid = (low+high)/2;
            if(a[mid]>x)
            {
                low=mid+1;
            }
            else if(a[mid]<x)
            {
                high=mid-1;
            }
            else
            {
                pos=mid;
                break;
            }
        }
        if(pos==-1) cout << high+1 << endl;
        else cout << pos+1 << endl;
    }
    return 0;
}
