Task: Program Execution
Input (English): 351, u, 163, 77, 299, g
Output (English): 1, 2, 3, 5, 6, 7, 9