Task: Program Execution
Input (English): 117, x, 2181, P
Output (English): 1, 3