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: 7, 10, ['A', 'd', '7165', 'G', '7855', 'b', '8011', '9059', '8191', '3595', 'a', 'c', '5871', 'U', '9587', 'X', 'j', 'E', 'b', '527', 't', 'D', 'y', '8869', '8925', '6265']

28856