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', '4157', '5185', 'U', 'i', '1115', 'A', '7427', '3313', 'S']
21197

['D', 'G', '9895', '143', '37', 'S', '1539', 'x', 'a', 'x', 'B', 'i', '9719', '839']
22172

['5323', '6005', 't', 'D', '1537']

12865