Task: Program Execution
Input (English): h, g, 109, S, 3671, 4623, y, C, W, 2121, W, 4991, W
Output (English): 109, 3671, 4623, 2121, 4991