Task: Program Execution
Input (English): 6, ['Q', '7705', '2065', '1997', '431', 'a', 'D', 's', 'f', '6277', '3187', 'N', '6027', 'p', 'w', 'A', 'E', 'Q', 'S', '4371', 'H', 'D', '8143', '1017', 'M', 'i', '6167', 'p', '4757', 'f', '9365', '2231', '4639', 'k', '9105', 'Z', 'X', '417', 'E', 'f', '5879', '9389', 'V']
Output (English): Q, D, 6027, S, M, 9365, X, V