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.
['a', 'T', 'p', 'Y', '379', '4979', 'X', 'w', '6279', 't', '3391', '5201', '173', '7345', 'n', 'q']