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.
['h', '833', '1689', 'X', 'S', 'U', '3215', '4173', 'L', 'P', 'D', '5659']