Task: Program Execution
Input (English): 3, 4, ['q', 'F', 'F', 'R', 'v', '5837', 'i', '1769', '2481', 'P', '695', 't', '8773', 't', '817', '2555', 'Z', 'E', 'Z', 'M']
Output (English): F, i, 695, 817, Z