Task: Program Execution
Input (English): 3183, 177, 627, 8101, 5091, 8781, 3927, 2045, 4349, u, 235, 3981, 815, 7501, d, 5029, 9193, m, 4063, 4049, 7201, i
Output (English): 3183, 177, 627, 8101, 5091, 8781, 3927, 2045, 4349, 235, 3981, 815, 7501, 5029, 9193, 4063, 4049, 7201