In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to return the sum of all the numerical elements in the list A between the positions i and j (including positions i and j). Return 0 if no numerical element is present in the list between the given ranges. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.

Q: 3, 5, ['i', 'e', '6583', '313', '5511']

A: 12407
****
Q: 4, 6, ['v', 'f', '5021', 'v', 'M', '6345', '1159', 'C', '8173', '6299', 'r', '8877', 'a', 'm', 'k', '2935']

A: 6345
****
Q: 2, 18, ['2301', 'b', 'q', '3237', '2929', '1197', '5029', '3877', 'S', '8613', 'e', '7173', 'Y', '4447', 'f', '315', 'R', '6801']

A:
43618
****