Task: Program Execution
Input (English): 7, ['S', '6755', '7515', '8151', 'W', 'W', '165', '7869', 'g', 'J', '6609', '9345', '2855', '8417', '4307', '5099', 'S', '5707', 'N', 'j', 'Q', 'v', 'l', '5525', 'L', '8037']
Output (English): S, 7869, 4307, v