Task: Program Execution
Input (English): N 6317 z J 7535 y 9491 5901 8959 4111 3989 2985 Y 4961 X 2473 D z 5109 Q 5889 j 1283 a s
Output (English): N, z, J, y, Y, X, D, z, Q, j, a, s, 6317, 7535, 9491, 5901, 8959, 4111, 3989, 2985, 4961, 2473, 5109, 5889, 1283