Task: Program Execution
Input (English): 4, 8, ['2629', '8401', 'Q', 'P', 'Y', 'O', 'x', '6117', 'E', 'y', '7139', '7803', 'k', '5887']
Output (English): 6117xOYP