Task: Program Execution
Input (English): 5, ['B', 'E', '9149', 'N', '9885', 'x', '7445', '5', 'X', '1297', 'J', 'i', 'l', 'r', '5723', '427', '3573', '8837', 'p', 'G']
Output (English): B, x, J, 427