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.
['363', 'm', 'f', '6147', '9787', 'L', '7435', '2531', '4163', 'Q', '4215', 'p']