Task: Program Execution
Input (English): 3, 5, ['2981', '5615', 'p', '1853', 'l', 'U', '2129', 'V', '6449']
Output (English): l1853p