Task: Program Execution
Input (English): 9345, c, V, 4071, T, W, 3685, h, 8401, v, U, 9547, N, 1645, A, H, B
Output (English): 9345, 4071, 3685, 8401, 9547, 1645