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.
['9861', '9177', 'x', '6991', 'Z', '1715', 'p', '765', '2711', 'i', '1801', 'H', '5803', 'd', 'm']