Task: Program Execution
Input (English): 6, ['w', 'U', '2191', '3367', 'S', '7251', 'd', '163', '2059', '5773', 'P', 'S', 'h', '3273', 'S', 'U', 'p', 'o']
Output (English): w, d, h