Task: Program Execution
Input (English): f, 287, c, n, 113, 43, 355, d, n, y
Output (English): 1, 2, 3, 4, 5, 7, 8