Task: Program Execution
Input (English): N 6959 5349 Q m z Q 6977 6477 4089 5769 b l 317 5487 l N Z 2895 1247 m M M D Z 6629 h
Output (English): N, Q, m, z, Q, b, l, l, N, Z, m, M, M, D, Z, h