Task: Program Execution
Input (English): 8729, 6917, m, g, j, 7285
Output (English): g, j, m