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.
['S', 'W', 'd', '9931', '2995', '499', 'p', '2187', '3311', '9563', 'K', '8087', '1845']