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.
['q', '1495', '6259', '2567', 'g', 'A', '5017', '5681', '6527', '1747', '3391', '3071']