Task: Program Execution
Input (English): 3, 4, ['U', '8619', '4111', 'x', 'P', 'k', '7957', 'i', '1977', '4145']
Output (English): 4111x