instruction:
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.
question:
3, 5, ['c', '9619', 'e', 'A', '5045', '2453', 'L', '553', '5493', '5657']
answer:
5045


question:
2, 16, ['2169', 'o', 'D', '8877', '3351', 'p', 'X', '1143', '9633', 'f', '2507', 'S', '5541', 'B', '4543', 'A', 'f']
answer:
35595


question:
2, 4, ['P', 'o', 'l', 'B', '1469']
answer:

0