Given a list of integers, write a function to return the sum of all the elements at even indices in the list.
[3, 5, 2, 8, 10, 4, 7]
12
Bot