Task: Program Execution
Input (English): 10, 15, ['D', '3095', 'a', 't', '9681', 'X', 'O', '6249', '287', 'O', '3427', 'R', '4455', '1021', '5005', '7655']
Output (English): 500512015544R7243O