Task: Program Execution
Input (English): 1, 2, ['1457', 'q']
Output (English): q7541