Solved 233A.java