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.
['5435', '1605', '7819', 'U', '35', 'g', '4799', 'g', 'r', 'h', 'a', '9691', '1277']