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.
['8871', '1297', 'W', 'f', 'Y', '8731', '113', '6707', '379', '9631', 'X', 'C', 'q']