Solve problems 53,55-56 using Java.