Task: Program Execution
Input (English): 5, 7, ['5677', '5547', '2497', 'G', '4043', '5537', '3417', '4913']
Output (English): 4043, 5537, 3417