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.
['R', 'q', 'r', '7823', '2995', 'z', '7843', 'B', 'd', '8165', '7589', 'c', '2621', 'p', 'u', 'a', 'c']