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.
['O', '5275', 'q', '8195', 'g', '2357', '8965', 'F', '4977', '6887', '9247', 'P', '1863']