Task: Program Execution
Input (English): 3, 7, ['U', 'a', '3109', '9445', '9131', '5353', 'H', '5855', '3919', 'I', '1705', 'j']
Output (English): 3109, 9445, 9131, 5353, H