Task: Program Execution
Input (English): G, q, 7171, O, 8859, 6125, X, x, z, 4617, 8507, h, 3167, 1769
Output (English): G, q, O, X, x, z, h