Task: Program Execution
Input (English): 6, ['T', '2199', '6375', '6159', 'X', '4397', '8877', '1781', 'Y', 'w', 'y', '2497', '6471', '3341', '4731', '6695', '391', 'A', '7889']
Output (English): T, 8877, 6471, 7889