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.
['8025', '1029', '5021', 'p', 'i', '9011', '4715', '9997', '4781', 'N', 'U', '367']