Task: Program Execution
Input (English): 4437, 1887, l, 5861, 9221, 3111, 8305, 4009, H, M, q, n, l, b
Output (English): 4437, 1887, 5861, 9221, 3111, 8305, 4009