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.
['X', 'W', 'r', 'M', '881', '8375', '3783', '1807', '9259', 'S', '1505', 'V', '5021']