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]: 1, 3, ['p', '5665', '3001']
[EX A]: 8666

[EX Q]: 11, 14, ['7277', '3335', 'z', 'R', 's', '8267', 'q', '2743', 'w', '4003', 'G', 'O', 'Y', '4063', 'q', '7001', '7381', 'D', '6247', '7211', 'I', '2277', '7543', 'Y', '8243', '3127', 'V', '8709']
[EX A]: 4063

[EX Q]: 14, 18, ['h', '6397', '6351', '2609', '817', '7307', 'e', '3159', 'L', '6091', 'R', '6721', '7005', 'V', 'p', 'm', 'L', '9873']
[EX A]:
9873