Solution.java