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.
['M', 'f', '2677', 'r', '1253', '9251', '6997', 'q', '931', 'n', '8283', '2953', 'x', 'g', 'H', '8161', '4265']