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.
['q', 'e', 'o', 'o', '877', 'X', '6015', '8239', '7481', 'M', '153', 'A', '4999']