Task: Program Execution
Input (English): 5, 2, ['9775', '8975', 'E', '327', '1243', 'a', '4009', '8633', '4685', '955', '5167', 'a', '8109', 'o', '113', 'M', 'w', '649', 'x', 'q', 'G', 'd', '3693', '4157', 'x', '3775']
Output (English): 1243, 4009, 4685, 5167, 8109, 113, w, x, G, 3693, x