Task: Program Execution
Input (English): 3, 2, ['2025', 'z', 'D', '8923', 'r', 'X', 'g', 'n', '6735', 'y', 'Z', 'P', 'Z', '4811', 'Z', '4591', 'V', 'Q']
Output (English): D, r, g, 6735, Z, Z, Z, V