Task: Program Execution
Input (English): 311, u, 165, 27, g, b, u, 17
Output (English): 1, 2, 3, 5, 6, 7