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.
['b', 'A', 'E', 'M', 'X', '9999', '3115', 'a', '4451', '9749', '4429', 'K', '3161', 'n', '2839', '1991', '3317']