Task: Program Execution
Input (English): 4, ['b', '3797', '6719', '7379', '8917', 'm', '3147', '7123', 'd', 'X', '8097', 'M', '8693', '8503', 'y', 'D', '6217']
Output (English): 8917, m, 3147, 7123, d, X, 8097, M, 8693, 8503, y, D, 6217