Task: Program Execution
Input (English): 8251, 1169, D, g, 8947, C, 2295, 4225, 7533, 4143, 8263, 451, s, M, 2975, 4255, I, T, 8395, U, 6681, 3133
Output (English): 8251, 1169, 8947, 2295, 4225, 7533, 4143, 8263, 451, 2975, 4255, 8395, 6681, 3133