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', 'o', 'r', 'D', '5987', 'V', 'q', '4823', '4807', 'o', '7145', 'd', '4259', 'H', 'I', 'J']