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.
['O', 'F', 'd', '3765', '2167', 'C', 'Z', 'P', 'A', 'U', 'v', 'h', '4339', '1171']