Task: Program Execution
Input (English): 2, ['F', 'J', 'B', 'k']
Output (English): F, J