Task: Program Execution
Input (English): G, 8119, W, i, 7581, j, Q, f, 6425, c, D, P, 8095, w, z, 4793, G, 2371, 8511, L, M
Output (English): G, W, i, j, Q, f, c, D, P, w, z, G, L, M