Task: Program Execution
Input (English): 5, 8, ['y', '6399', '6005', '81', 'y', '4369', 'G', '1967', 'S']
Output (English): y4369G1967