Task: Program Execution
Input (English): 7157, 4593, u, 1949, e, 5349, 1957, 7405, y, 9987, 2415, 9357, 6629, 8353, N, 7459, 5743, 8347, 8099, Q, 1157, F
Output (English): 1, 2, 4, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 21