Task: Program Execution
Input (English): W, O, d, 505, N, O, O, 1557, 1941, 4731, G, 8861, G, 8217, c, 3929, 4859, 2211, 9955, b, 3299, S, f
Output (English): 505, 1557, 1941, 4731, 8861, 8217, 3929, 4859, 2211, 9955, 3299