Task: Program Execution
Input (English): 4, ['965', 'Q', '8295', 'r', 'G', '5023', 'Z', '9635', '2713', 'o', '2013', 'p']
Output (English): 965, Q, 8295, r