Task: Program Execution
Input (English): 1, 7, ['2951', '2371', 'C', 'M', '8017', 'X', 'h', 'K']
Output (English): h, X, 8017, M, C, 2371, 2951