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.
['u', 'X', 'n', '5065', '9115', '387', 'A', '5955', '5193', '6999', '7805', 'h', 'L', 'W', 'g', '6397']