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.
['Q', 'h', '6525', '6449', 'b', 'K', 'a', '5067', 'D', 'U', 'a', 'a', '8277', '505', '4929']