returns index of those elements whose sum is multiple of gin number->c