Task: Program Execution
Input (English): M, 1667, 3779, 4595, 1547, 8751, 9631, 2861, 3411, a, t, z, 4911, q, 2429, 5255, 6361
Output (English): M, a, t, z, q