Task: Program Execution
Input (English): M, 1919, j, 2969, 1433, D
Output (English): 1919, 2969, 1433