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', '7239', '6901', '3793', '3393', 'O', '6651', '1213', '4869', '3401', 'w', '4315']