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.
['5671', 'M', '5169', '4515', 'G', '3569', 'D', 'p', '5403', 'S', '6823', 's', '8043', 'M']