Task: Program Execution
Input (English): 5321, 6671, H, W, 9513, 2367, A, M, 701, D, W, M, t, x, 1741, f, k, 1841, 2455, X
Output (English): H, W, A, M, D, W, M, t, x, f, k, X, 5321, 6671, 9513, 2367, 701, 1741, 1841, 2455