Task: Program Execution
Input (English): g, 9997, 2883, w, d, 1045, 3613
Output (English): d, g, w