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', '9715', '5117', '755', 'Q', 'T', 'r', 'R', '3525', '949', 'w', 'J', 'P', '6443', 'm', '5947']