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: 8, 15, ['N', '645', '2623', 'p', 'j', '7319', '9555', '2863', 'n', '2045', 'V', 'D', 'u', '3405', '6971', 'm', '8129', '5347', '1971', '829', '6709', 'H']

15284