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.
['O', 'Q', 'O', '511', '4699', '5251', '5629', 'm', 'f', 'h', '8321', '353']