longest_improvement.java