Task: Program Execution
Input (English): 8, 10, ['m', '4733', '3177', 'J', 'J', 'X', 'z', 'X', '9245', '5365', '4241', '4183', 'h', '2299', '6519']
Output (English): X, 9245, 5365