Task: Program Execution
Input (English): 3, ['4039', '4893', 'S', 'J', '8551', '475', '3215', '7211', '4667', '6837', 'Y', '6239', 'y', 'O', 'X']
Output (English): 4039, 4893, S