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.

['5899', '229', 'm', '3347', 'k', 'q', 'g', '2755', '8727', '2035', '823', '6835', '9271', 'Q']
39921

['8609', '8045', '2517', '3821', 'x', '3895', 't']
26887

['Y', 'a', 'P']

0