Task: Program Execution
Input (English): 3, 7, ['1385', '6147', '3687', '6567', '7107', 'H', 'd']
Output (English): 3687, 6567, 7107, H, d