Task: Program Execution
Input (English): k, B, c, 5409, n, G, a, i, R, 1795, C, 8729, i, x, N, 755, n, 2439, 8187, E, 9687
Output (English): 5409, 1795, 8729, 755, 2439, 8187, 9687