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.

Q: 6, 14, ['707', 'L', '8503', 'x', 'Y', '921', '8415', '6449', '5711', 'd', '591', 'd', '3827', '5569', 'g', 'U', 'v', '7781', 'E', 'z', '4751', '8541', 'c', 'P', '8037', 'X']

A: 31483
****
Q: 2, 8, ['743', '3417', '5979', 'J', 'f', '4707', 'k', 'i', '2167', 'V', 'g']

A: 14103
****
Q: 14, 15, ['W', 'b', '3041', 'I', 'Q', 's', '3201', 'g', '7287', 's', '3103', '9415', '2217', 'q', 'H', 'Y', 'D', '4607', '3607', 'D', 'v', '1909', '1457', 'z', 't', 'h', '167', '4147', '3835', 'N']

A:
0
****