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.
['X', 'p', '8881', 'Y', 'F', '261', 'O', 'm', 'y', '1145', 'q', 'g']