Task: Program Execution
Input (English): 2, ['A', 'w', 'c', 'p']
Output (English): A, c