Task: Program Execution
Input (English): 6, ['A', '6317', 'J', '6821', 'q', 'w', '3913', 'Y', 'a', '1111', 'o', 'K', '9855', '1107']
Output (English): A, 3913, 9855