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.
['T', 'm', 'y', 'w', '4965', 'm', 'Y', 'o', '241', 'D', '8505', 'm', 'M']