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.
['903', '8729', '5077', 'n', 'g', '8717', '799', '7431', 'U', '401', 'c']