Task: Program Execution
Input (English): 8601, 5859, d, g, 8025, 3013, r, 2307, 2119
Output (English): d, g, r