Task: Program Execution
Input (English): g, 271, u, 79, e, h, 395
Output (English): 1, 2, 3, 5, 7, 9