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', 'B', '8791', '3165', 'n', 'm']

A: 11956
****
Q: ['A', '771', 'Q', 'b', '9929', '4991', 'q', '9863', '4363', '5721', 'C', '991', 'j', 'r', 'Q', 'B', 'K']

A: 36629
****
Q: ['6313', 'P', '4827', 'D']

A:
11140
****