Task: Program Execution
Input (English): 4, 7, ['3915', 'F', '1229', 'J', 'F', 'R', '7841', '4173', '9385', '6455', '8989', '9123', 'B', '5705', 'E']
Output (English): 7841RFJ