Task: Program Execution
Input (English): n, 2627, o, 3995, 9655, M, k, p, 3501, R, T, H, 4487, w, K, o, 9491, 1545, v, 565, 8943, W
Output (English): 2627, 3995, 9655, 3501, 4487, 9491, 1545, 565, 8943