Task: Program Execution
Input (English): 2, 4, ['R', '6273', '5341', '8099', 's', 'c', '9041', '9635', 'h', 'm', 'x', 'B']
Output (English): 8099, 5341, 6273