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.
['D', '773', '8277', '4159', 'w', '4903', '5739', 'o', 'k', '859', 'I', '5021', 'A', 'J', 'S']