Task: Program Execution
Input (English): b, b, a, 3147, P, j, N, m, 1087
Output (English): 2, 2, 1, 3147, 16, 10, 14, 13, 1087