Task: Program Execution
Input (English): v, q, 139, 79, 149, 469, g, 239, 221, v, 77
Output (English): 1, 2, 3, 4, 6, 7, 9