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', '5629', 'S', '5837', 'Q', 'P', '4039', 't', 'M', 'H', '863', 'w']