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.
['Z', '8747', '4095', 'K', '8227', 'n', '157', 'B', '2765', '1165', '327', 'c']