Task: Program Execution
Input (English): 1, 4, ['N', 'G', 'e', '8427', 'Q', 'S', 'o', 'd']
Output (English): N, Q