Task: Program Execution
Input (English): 1601, 1355, 5245, 7269, r, 3081, V, 9505, 2077, 8919, 5341, 47, B, 8821, d, J, t
Output (English): 1601, 1355, 5245, 7269, 3081, 9505, 2077, 8919, 5341, 47, 8821