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.
['1673', '8187', '47', 'q', 'f', '7217', 'J', 'a', '8677', 'C', '1573', 'P']