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.
['P', '2841', '9827', 'B', '2817', '9815', '5041', '4323', 'w', 'D']