Task: Program Execution
Input (English): 4, 5, ['j', 'o', '7797', '871', 'G', 'T', '5549', 'j']
Output (English): 871G