Task: Program Execution
Input (English): 8169, 5087, M, W, 1937, W, 8521, m, 5783, U, 2353, D, 7927, 9457, 9615, t, 6609, j, 6523, 2051
Output (English): M, W, W, m, U, D, t, j, 8169, 5087, 1937, 8521, 5783, 2353, 7927, 9457, 9615, 6609, 6523, 2051