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.
['5107', '509', '1567', '817', '5269', 'w', '2663', '4061', 'i', 'H', '5277', '4941']