Task: Program Execution
Input (English): 3089 E 4445 9549 a J N a 7103 f 2083 9361 8273 W 2677 Z M q 6171 2329 a e J 7805 N
Output (English): E, a, J, N, a, f, W, Z, M, q, a, e, J, N