Task: Program Execution
Input (English): 4, 6, ['j', '1881', '9547', 'B', '655', 'P', 'K']
Output (English): B655P