Task: Program Execution
Input (English): w, d, p, R, n, 6951, F, 2105, 5137, f, I, w, S, z, 8721, 2909
Output (English): 6951, 2105, 5137, 8721, 2909