Task: Program Execution
Input (English): 1, 6, ['5907', 'D', '2611', '3275', '9421', 'X']
Output (English): 5907, D, 2611, 3275, 9421, X