Task: Program Execution
Input (English): 4417, 2219, d, 5253, n, t, 1699, 545, 2167, m, g, 7995
Output (English): d, g, m, n, t