Task: Program Execution
Input (English): 9, 14, ['1977', 'R', '5227', 'n', 'S', '6327', 'a', '4559', '5543', '1787', '5443', 'w', '4597', 'b', 'Z', '4701']
Output (English): 5543, 1787, 5443, w, 4597, b