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.
['2959', '3125', '3827', '6311', '6045', 'c', '7291', 'u', '8665', '2775', '2053', 'q', 'm', '5003', 'U', 'M', 'a']