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.
['Y', '4975', 'N', 'P', 'B', 'c', '261', 'i', '3155', '1177', 'H', 'g', '9775']