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.
['7231', '2813', '51', '1745', 'c', 'a', '4929', '3185', '5707', '2095', 'f', 'S']