Task: Program Execution
Input (English): 1583, V, 9785, 8769, 6665, w, S, z, 999, B, H, 9519, W, K, 1897, 5071, K, n, a
Output (English): V, w, S, z, B, H, W, K, K, n, a, 1583, 9785, 8769, 6665, 999, 9519, 1897, 5071