Task: Program Execution
Input (English): 1, 3, ['D', '5351', '8913', '4339', '9221', 'q']
Output (English): 8913, 5351, D