Task: Program Execution
Input (English): 2, 7, ['317', 'p', 'o', 'z', 'M', '9927', '1011', '2263', '6815', 'E', '979', '6719', 'a', 'i', '5965', '4023', 'q', 'D']
Output (English): p, 6815, 4023