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', 'd', '7981', '9461', '25', 'L', 'f', 'm', '5981', '8449', '5379', '3969', '1309', '5623']