Task: Program Execution
Input (English): 1, 3, ['2537', '6621', '9567', 'P']
Output (English): 765912667352