Task: Program Execution
Input (English): 6, 14, ['6261', 'x', '8425', '8735', '3503', '8085', 'Z', 'Q', '9647', '4777', '4399', '2835', 'J', '9917', 'P', '4761', 'C']
Output (English): 9917J2835439947779647QZ8085