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.

[EX Q]: 2, 10, ['f', 'r', 'Z', '1989', '5035', '1623', '9335', '7495', '8663', '2199', '2047', 'o']
[EX A]: 36339

[EX Q]: 18, 27, ['1757', 'B', '5165', 'v', 'c', '2699', '9861', '3935', 'p', 'A', '6855', '5233', '1543', 'A', 'H', 'o', 'P', '6749', '2411', 'B', 'U', 'G', '1645', '1543', 'x', '7271', '4383', 'n', '2725', 'n']
[EX A]: 24002

[EX Q]: 20, 22, ['Y', 'z', '2117', 'p', 'C', 'U', '9573', '2417', 'z', 'H', '7667', '659', 'F', '9057', '8329', 'I', '987', 'i', '3007', 'e', 'I', '231', 'z', 'L', '2925', 's', '2459', '8225', 'W']
[EX A]:
231