Task: Program Execution
Input (English): 2, 3, ['2263', '4169', 'P']
Output (English): P4169