Task: Program Execution
Input (English): 1, 1, ['9677', 'Y']
Output (English): 9677