Task: Program Execution
Input (English): 1, 1, ['P', '3715', '1093', '7649']
Output (English): 0