Task: Program Execution
Input (English): 3, ['3917', 'X', 'G', 'w', '7815', 'n', '7485', 'h', '863', 'G', '3945', 'q', '3719', '2339', 'd']
Output (English): 3917, X, G