Task: Program Execution
Input (English): 2, 5, ['k', '6347', 'U', '3509', 'D', '3699', '5799', 'S', 'j', 'P']
Output (English): 6347, 5799