Find the indeces whoose elemnts add upto the key