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.
['6681', '1971', 'P', '5895', '8853', '1987', '2515', '7343', 'a', '6677', '8097', 'q']