Task: Program Execution
Input (English): 10, 18, ['H', '995', '6081', 'y', 'X', '8673', 'Y', '2703', 'b', '3987', '2911', 'V', 'J', 'S', '8171', 'w', '2471', '5083', '7511', '275', 'p', '5827', 'z', 'R']
Output (English): 5083, 2471, w, 8171, S, J, V, 2911, 3987