Task: Program Execution
Input (English): 3, 5, ['1825', 'v', 'Q', 'Q', 'g', 'F']
Output (English): gQQ