Task: Program Execution
Input (English): 2, 2, ['8093', 'P', '701', '665', '6305', '2745', '3523']
Output (English): P