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.
['o', 'i', 'n', 'N', 'p', '9313', 'S', '4771', 'n', '1165', '9813', '579', 'm', 'T', 'd', 'h', '4277']