Task: Program Execution
Input (English): E, 1955, 5187, 8955, 2821, J, 5531, 1329, 1351
Output (English): 1955, 5187, 8955, 2821, 5531, 1329, 1351