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]: ['D', 'G', '9895', '143', '37', 'S', '1539', 'x', 'a', 'x', 'B', 'i', '9719', '839']
[A]: 22172


[Q]: ['D', 'm', 'P', '2433', '6731']
[A]: 9164


[Q]: ['i', '4875', 'R']
[A]:
4875