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.
['5979', '3577', '1039', 'M', '803', '5287', 'B', '4555', 'l', '1211', '5517', 'b']