Definition: 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.
Input: 3, 14, ['9399', 'N', 'p', '5867', '3363', 'l', '5621', '9087', 'n', '3443', 'K', '5403', '3511', '4213', '201', '6475', 's', '3083', 'd', '5491', 'A', 'a', 'W', '4263']

40508