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.
['h', '3935', '5521', '2041', '1385', '3561', 'G', '1319', 'i', '5345']