Task: Program Execution
Input (English): N, l, s, 6081, 6709, I, 6587, e, m, 3017, G, 1831, 9309, W
Output (English): 6081, 6709, 6587, 3017, 1831, 9309