Task: Program Execution
Input (English): c, 3821, 2239, P
Output (English): 2