Task: Program Execution
Input (English): 1, 2, ['N', 'g', 'X']
Output (English): g, N