Task: Program Execution
Input (English): 4, 8, ['3807', '5231', '8743', '3165', 'B', 'h', 'V', '6185', '8317', '8533', 'j']
Output (English): 6185VhB3165