Prob 6 java ybh