Update LCS.java