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.
['3791', '9461', 'J', 'A', 'C', '777', 'v', 'E', '5863', 'i', 's', '1171', 'h', 'M', '451', 'f', 'W']