Task: Program Execution
Input (English): 2, 6, ['5813', '8917', 'p', 'g', '5447', 'Z', 'b', 'z']
Output (English): Z, 5447, g, p, 8917