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', '5439', 'G', 'e', '413', '5477', 'Z', 'O', '2981', '2653', '1351', '1163', 'p']