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.
['6121', 'S', '8683', 'Y', '6107', 'B', '6193', '5555', '365', '945', '1439', '7257', 'g']