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.
['4535', 'J', '4683', 'P', '6059', 'M', 'A', '4031', 'b', 'y', 'O', 'J', 'm', '4391', '5221', '7245', '5939']