Task: Program Execution
Input (English): 2, 6, ['2509', 'F', '5107', 'E', '8181', 'e', '3555', 'F', 'G', '8781', 'S', 'B', '7301', '3201', 'k', '1821', 'M']
Output (English): F, 5107, E, 8181, e