Task: Program Execution
Input (English): 3, 5, ['u', '5507', 'G', 'h', 'P', '5735', '655', 'a', '8205', '3709', 'I']
Output (English): P, h, G