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.
['M', 'X', 'i', '5201', '4845', 'u', '1479', '2397', 'N', '6057', 'c', '8955', 'I', '3439', '1407', 'h', 'q']