Task: Program Execution
Input (English): r, 7811, 9165, 8017, 8423, 4513, D
Output (English): 7811, 9165, 8017, 8423, 4513