Task: Program Execution
Input (English): Y, 7719, O, f, P, 4747, 3193, Z
Output (English): 1, 3, 4, 5, 8