Task: Program Execution
Input (English): ['g', 5037, 'n', 'd', '9849', '5787', 'n', 'G', 10003], ['F', 5271, 'X', 'd', '9849', '5787', 'n', 'a', 'l', 1717, 4715]
Output (English): d, 9849, 5787, n