Task: Program Execution
Input (English): 5, 10, ['7025', '133', 'F', 'P', 'X', '7719', '3715', '9271', '8153', '5719', 'i', '2689', '8819', 'A', 'd', 'p', 'z', 'd', '9105', '1061', 'u', 'o', '9505', '275', 'c', 'G']
Output (English): 5719, 8153, 9271, 3715, 7719, X