Task: Program Execution
Input (English): 2, 3, ['6349', 'Q', '3635']
Output (English): Q3635