Task: Program Execution
Input (English): 9561 Z 8735 h c 3451 P 535 q 1161 G T 9801 2599 909 4337 A 5445 7285 y 8751 a 4147 P Q
Output (English): Z, h, c, P, q, G, T, A, y, a, P, Q, 9561, 8735, 3451, 535, 1161, 9801, 2599, 909, 4337, 5445, 7285, 8751, 4147