Task: Program Execution
Input (English): p, 9069, 7975, 6985, l, 1629, 9739, 5045, 1103, h, B, J, 2229, M, 3777
Output (English): 1, 5, 10, 11, 12, 14