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.
['J', 'f', '4201', '217', '5431', '5111', '6595', 'u', 'f', 'D', '4289', 'O', 'p', '7487', '4259', 'h', '197']