Task: Program Execution
Input (English): 4, 6, ['O', '2143', '9263', '8509', 'g', '8827', '6783', '1189']
Output (English): 8827g8509