Task: Program Execution
Input (English): 4, 10, ['B', '723', '4649', '7431', '6129', '7303', '9299', '4281', '7475', 'r', 'd', 'C', 'c', '3187', 'b', 'V', '4675', '2279', 'J', '4793']
Output (English): 7431, 3187