Task: Program Execution
Input (English): M, T, Q, 4267, 1721, 4601, 77, j, J, 7321, K, T, 7677, c, 5935
Output (English): M, T, Q, j, J, K, T, c, 4267, 1721, 4601, 77, 7321, 7677, 5935