Task: Program Execution
Input (English): 2699, g, 6715, 8165, 5159, 1871, 2627, E, L, 9545, C, 6879, L, m, V
Output (English): 2699, 6715, 8165, 5159, 1871, 2627, 9545, 6879