Task: Program Execution
Input (English): 1107, x, w, 7047, q, 1305, a, 3521, 3371, 3977, 8553, s, w, N, 5259, 1063, 9391, t
Output (English): 2, 3, 5, 7, 12, 13, 14, 18