Task: Program Execution
Input (English): 3, ['7897', 'T', 'Y', '4285', '9561', 'H', '9409', 'd', 'a', '7377', 'Z', '971', '2649', 'J', '7259', '99', 'f']
Output (English): 7897, T, Y