Task: Program Execution
Input (English): 2, ['h', 'a', 'n', 'B', 'h', '5789', '2461']
Output (English): h, a, n, B, h