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.
['311', 'O', '6907', 'q', '3189', 'k', 's', 'g', '7307', '1173', '7223', '5085', 'v', '5951', 'D', 'p']