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.
['5943', '7045', 'h', 'p', '5121', '7973', 'R', '5983', '9165', '4303']