Task: Program Execution
Input (English): 8811, J, m, 8653, X, p
Output (English): 1, 4