Task: Program Execution
Input (English): G, q, p, P, 4805, q, Q, n, X, 4469, B, 9451, a, Z, 9861, 5953, 7671, 1225
Output (English): G, q, p, P, q, Q, n, X, B, a, Z