Task: Program Execution
Input (English): 3, 12, ['a', 'n', '2741', '6359', '6825', 'B', 'V', 'U', 'I', '7751', 'm', '187', 'q', '91', '1073', '1957', '2397', 'A', '6651', 'i', 'o', '5135', '9201', '4237', '5699', 'p', '8355', 'S', '9807']
Output (English): 2741, 1073, 8355