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: 13, 18, ['T', 't', '8471', 'u', '4037', 'Y', '6553', '6253', 'U', 'G', 'L', '4205', 'R', '7425', '3809', '9287', '9437', '2443', 'E', 'N', '5805', 'n', '4699', 'A', 'k', 'K']

32401