Task: Program Execution
Input (English): 4, 7, ['1609', 'V', '7003', '6801', '1165', 'A', 'O']
Output (English): O, A, 1165, 6801