Task: Program Execution
Input (English): 9147, P, O, h, T, 3867, 475, n, t
Output (English): 2, 3, 4, 5, 8, 9