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.
['X', 'P', 'L', '5597', '4477', '2747', 'g', '3533', 'J', 'f', 'S', 'D']