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]: ['6121', 'S', '8683', 'Y', '6107', 'B', '6193', '5555', '365', '945', '1439', '7257', 'g']
[A]: 42665


[Q]: ['B', 'K', '9399', 't', '5541', 'w', '1939', '7841', 'q']
[A]: 24720


[Q]: ['4049', 'p']
[A]:
4049