Task: Program Execution
Input (English): 4, 10, ['O', 'Z', '6951', '1491', 'f', 'N', 'f', '939', 'A', '5541', 'Q', '1741', 'G', '5727', '1493', '1769', 't', 'f', '59', 'B', '5677', '7911', '1621', '8059', 'Z', 'p', 'm']
Output (English): 1491, 5727, 8059