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.
['l', 'q', '6241', 'B', 'Y', '5545', '1731', '4919', 'O', '627', '4645', 'J', '2729']