Task: Program Execution
Input (English): J, 67, P, K, w, 8865, f, P
Output (English): 2, 6