Task: Program Execution
Input (English): 8771, 8189, 1729, i, q, 533, 8057, 2797, D, 1239, p, R, 4011, 3979
Output (English): 8771, 8189, 1729, 533, 8057, 2797, 1239, 4011, 3979