Task: Program Execution
Input (English): 4, 5, ['2277', '8305', 'c', '5827', '8165', '1919', '3347', '8333', 'D', 'o', 'V']
Output (English): 5827, 8165