Task: Program Execution
Input (English): 2, 3, ['9249', '173', 'X', 'U', 'D', '4817', '2367', 'J', '2909', 'z', 's', '25', 'J']
Output (English): 173X