Task: Program Execution
Input (English): 5, ['w', '3531', 'o', '599', '1317', 'B', 'X', 'a', 's', '4821', '6409', 'p']
Output (English): B, X, a, s, 4821, 6409, p