Q: 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.
['i', '5831', '2745', '413', '1513', '5489', 'n', '3001', '3201', 'X', '9321', '3909', '4999', 'r']
A:
40422