Task: Program Execution
Input (English): 3, ['G', '645', '6397', '3765', '5199', '475', 'p', 'h']
Output (English): G, 3765, p