problem 20 java