Task: Program Execution
Input (English): 1755, K, 3841, 1163, Z, P
Output (English): 3