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.
['2545', 'I', '3315', '2771', '1713', '3587', '8239', 'B', '7047', 'Y', '4599', '171', '1371', 'h', '2977']