Task: Program Execution
Input (English): 1, ['1517', 'q']
Output (English): 1517