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.
['5091', '2037', '5107', '8963', '2025', '7447', '8237', '1989', 'm', '5745']