Task: Program Execution
Input (English): 5, 11, ['X', '4665', 'O', 'A', 'J', 'b', '785', '2719', '8085', 'L', '2723', 'm', 'F', 'r', '8889', '2535', '1605', '3861', 'S', 'A', '987', '8109', '7725', 'n', 'F']
Output (English): J, 2535