Task: Program Execution
Input (English): 475, v, 167, q, n, a, 35
Output (English): 1, 3, 4, 5, 6, 7