Task: Program Execution
Input (English): 5, 9, ['J', '1121', 'J', 'G', 'q', 'N', 'W', '6279', 'R']
Output (English): 6279