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', '8071', 'U', '6339', 'l', '31', '2427', 'B', 'e', 'a', 'f', 'w']