Task: Program Execution
Input (English): 7849, Y, J, c, A, m, O, F, 5531, 8551
Output (English): 2, 3, 4, 5, 6, 7, 8