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.
['6515', '5525', 'o', 'Q', '9049', 'f', 'p', 'X', '2057', 'h', '7585', '3617', '7817']