Task: Program Execution
Input (English): 9865, C, L, G, D, 215, 4467, g, i, 8129, K, j, z, 4991, F, 1825, 2185, r, R, 9063, D
Output (English): 9865, 215, 4467, 8129, 4991, 1825, 2185, 9063