Task: Program Execution
Input (English): 6, 14, ['997', 'R', 'N', 'X', 'R', '73', 'L', '8625', 'X', 'O', 'J', 'H', '1161', 'J', 'Q']
Output (English): 73, L, 8625, X, O, J, H, 1161, J