Task: Program Execution
Input (English): 1, ['6721', '5299', '1345', 'Q', 'z']
Output (English): 6721