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.
['x', 'w', 'M', '1981', 'A', 'P', 'S', '9777', '1971', '8029', '7835', '8385', 'u', '2039', '1351', 'T']