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.
--------
Question: 2, 6, ['m', 'q', '4069', '4487', 'c', '4639']

Answer: 13195


Question: 2, 16, ['e', 'Q', '4017', '1999', '2413', 'v', '4911', 'N', 'x', '3475', '2179', 'o', 'a', '6361', '1723', '6273']

Answer: 33351


Question: 7, 18, ['4203', '4291', '1803', 'r', '5701', 'Z', '3757', '8385', '5889', '4875', 'G', 's', '2683', '4229', '7525', '5951', 'o', '7653', 'W', 'i', 'V', 'k', 'V', 'L', 'B', 'J', '7729', 'u']

Answer:
50947