Task: Program Execution
Input (English): m, 5417, j, w, 4907, 8297, F
Output (English): 5417, 4907, 8297