Task: Program Execution
Input (English): 3, ['9677', '5115', '389', '3803', 'r', 'D']
Output (English): 9677, 5115, 389