Task: Program Execution
Input (English): j, 2241, K, p
Output (English): 2