Task: Program Execution
Input (English): 2, 4, ['5771', 'U', '5449', 'P', '4183', 'X', '4797', '4641', 'H', 'P', 'i', 'x', '8057']
Output (English): P9445U