Task: Program Execution
Input (English): 1, 6, ['5467', '3117', '9953', '8337', 'Y', 'C', 'M']
Output (English): C, Y, 8337, 9953, 3117, 5467