Task: Program Execution
Input (English): 6687, 3895, x, 3175, 7137, 4033, 5219, v, n, x
Output (English): 1, 2, 4, 5, 6, 7