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.
['4029', 't', '9789', '5207', 'M', 'l', '777', 'v', '7197', '5693', '6787', 'r', 'W']