Task: Program Execution
Input (English): 3, 6, ['8857', 'J', '5901', 'n', 'h', 'J']
Output (English): 5901, n, h, J