Task: Program Execution
Input (English): g, 217, a, 447, f, 329, 281
Output (English): 1, 2, 3, 4, 7, 8, 9