Task: Program Execution
Input (English): 4417, M, V, 8949, l, 7433, J, j, 5811, 8575, 8619
Output (English): 4417, 8949, 7433, 5811, 8575, 8619