Given the task definition and input, reply with output. 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.

['5745', 'm', '5249', '9145', '4147', 'S', 'T', 'p', '3603', 'L', '4557', '8225']
40671