In this task, you are given an input list A. You need to find all the elements of the list that are numbers and calculate their sum.

Q: ['R', 'I', 'f', 'K', 'p', '8579', 'e', '1223', 'I', 'K', '8311', '2147', '4241', 'z', '6671', 'r']

A: 31172
****
Q: ['B', 'u', '9227', 'b', '8767']

A: 17994
****
Q: ['5727', '9095', 'O', '8113', '5151']

A:
28086
****