Task: Program Execution
Input (English): V, q, 9767, 8751, 4875, 1077, f, 3433, 349, 9415, N, 1357, 4991, 4389, c
Output (English): 9767, 8751, 4875, 1077, 3433, 349, 9415, 1357, 4991, 4389