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.
['v', '1315', 'i', 'd', 'Q', 'U', 'P', '4389', 'h', 'h', '1731', 'c', 'm', 'U', 'J', 'D']