Task: Program Execution
Input (English): 2, ['y', 'h', 'O', 'J', '5781', 't']
Output (English): y, h, O, J