Task: Program Execution
Input (English): 9691, J, 9739, j, 5419, 4393
Output (English): 2, 4