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.
['187', 'r', '4793', '267', 'X', 'D', 'T', '6789', 'q', 'E', '5089']