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.

['g', '5301']
5301

['7231', '2813', '51', '1745', 'c', 'a', '4929', '3185', '5707', '2095', 'f', 'S']
27756

['6025', 'Z', 'B', '5717', '9649', '1223', 'i', 'z', '3981', 'I', '8297', 'O', 'D', '8707', '9751', 'r', 'P', 'G']

53350