Task: Program Execution
Input (English): 6, 9, ['c', '4029', '5301', '8571', '8177', 'b', 'J', 'n', 'W', '7277', '7513']
Output (English): W, n, J, b