Task: Program Execution
Input (English): 3, 5, ['a', '9317', 'P', 'U', 'h']
Output (English): h, U, P