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.

['M', '9387', '7125', 'c', '1295', 'X', 'l', '9867']
27674

['3145', 'C', '7725', 'k', 'z']
10870

['5207', 'n', 'M', '747', 's']

5954