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.
['259', '8477', '6409', 'm', 'k', '4993', 'r', '9707', '5879', '8221', 'z', 'l', 'i', '5371', '5785']