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', 'z', 'A', '6459', '1967', '1667', '5957', 'h', 'L', 'n', 'P', '2571', '5423', '9313', 'm', '8943']