Task: Program Execution
Input (English): 4, 6, ['w', '9933', '2991', 'k', '783', 'Z', '8077', 'V']
Output (English): Z, 783, k