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.
['9931', 't', '1773', 'M', '4519', '4271', '6815', 'd', 'H', 'L', '25', '961', '5029', 'i', 'S', 'd', 'i', '5101']