Task: Program Execution
Input (English): 9843, P, 345, 4435, W, 4819, 8547, H, 7229, 8789, 4421
Output (English): 1, 3, 4, 6, 7, 9, 10, 11