Task: Program Execution
Input (English): 4811, M, 5565, 2263, 6561, 9327, 9883, 4891, 7219, 9461, P, D, M, 6459, 5549, X, 4453
Output (English): M, P, D, M, X, 4811, 5565, 2263, 6561, 9327, 9883, 4891, 7219, 9461, 6459, 5549, 4453