Task: Program Execution
Input (English): 5, ['X', '3683', 'e', 'Q', 'f', '6299', 'P', '7039', '8761', 'a', 'B', '301', '503', 'x', '9905']
Output (English): X, 6299, B