Task: Program Execution
Input (English): 1729, 3851, n, e, t, h, q, 8137, X, 6237, g
Output (English): n, e, t, h, q, X, g