Task: Program Execution
Input (English): 2, 3, ['7247', 'Q', '8849', 'i', '9733', '8001', 'h', '3157', '519', 's', '3573', 'J', '8839', '823', '2467', '3203', 'W', 'E']
Output (English): Q8849