Task: Program Execution
Input (English): 4, ['s', 'p', '5973', 'B', '9637', 'S', '5829', 'X', 'x', 'J']
Output (English): s, 9637, x